...
|
...
|
@@ -13,7 +13,6 @@ const cate = require(cRoot + '/cate'); |
|
|
const brandController = require(`${cRoot}/brand`);
|
|
|
const custom = require(`${cRoot}/custom`);
|
|
|
const rewrite = require('../../doraemon/middleware/rewrite');
|
|
|
const sitemap = require('../3party/controllers/sitemap');
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
|
|
|
router.get('/', channel.switchChannel, channel.index); // 首页,频道选择页
|
...
|
...
|
@@ -45,7 +44,5 @@ router.get('/channel/2fb054e8315300a1ae1f80c3a4fda862.html', custom.zhihui); |
|
|
// 自定义频道
|
|
|
router.get('/channel/:id.html', custom.index);
|
|
|
|
|
|
// 站点地图
|
|
|
router.get('/sitemap.xml', sitemap.siteMap);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|