router.js
446 Bytes
/**
* @author: zxr
*/
'use strict';
const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
const aboutCtrl = require(`${cRoot}/about`);
router.get('/yohobuy.html', aboutCtrl.yohobuy);
router.get('/newpower.html', aboutCtrl.newpower);
router.get('/contact.html', aboutCtrl.contact);
router.get('/privacy.html', aboutCtrl.privacy);
router.get('/link.html', aboutCtrl.link);
module.exports = router;