• This project
    • Loading...
  • Sign in

张泽世 / yohobuywap-node · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • router.js
  • init pro
    718ec035
    by xuqi
    2016-04-25 15:38:22 +0800  
    Browse Files
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;