router.js 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 /** * router * @author: xuqi<qi.xu@yoho.cn> * @date: 2016/4/25 */ 'use strict'; const app = new require('express').Router(); const cRoot = './app/controllers'; app.get('/', (req, res) => { res.render('index'); }); module.exports = app;