Authored by biao

update

... ... @@ -13,7 +13,10 @@ const homeDataController = require(cRoot);
// Your controller here
router.get('/', function(req, res) {
homeDataController.getHeaderData(function(err, data) {
data.headerData.navbars[0].active = true;
res.render('index', data);
});
});
module.exports = router;
... ...
var rp = require('request-promise');
var _ = require('lodash');
var API = require('../../library/api');
function getConfig() {
return {
... ...