const express = require("express") const router = express.Router() const {channelApi} = require("../../rpdata/api/Channel") const channelsTemplate = require("../../marko/page/data/channels.marko") router.get("/", async(req, res) => { res.markoAsync(channelsTemplate, { channels: channelApi.list(), selected: { channels: true }, }) }) module.exports = router