router.js
342 Bytes
/**
* router of sub app service
* @author: xuan.chen@yoho.cn<xuan.chen@yoho.cn>
* @date: 2016/11/21
*/
'use strict';
const router = require('express').Router(); //eslint-disable-line
const cRoot = './controllers';
const chat = require(`${cRoot}/chat`);
// Your controller here
router.get('/im/', chat.page);
module.exports = router;