Authored by 姜枫

mege

... ... @@ -17,14 +17,14 @@ app.on('mount', function(parent) {
Object.assign(app.locals, parent.locals);
});
app.use(global.yoho.hbs({
extname: '.hbs',
defaultLayout: 'layout',
layoutsDir: doraemon,
partialsDir: path.join(__dirname, 'views/partial'),
views: path.join(__dirname, 'views/action'),
helpers: global.yoho.helpers
}));
// app.use(global.yoho.hbs({
// extname: '.hbs',
// defaultLayout: 'layout',
// layoutsDir: doraemon,
// partialsDir: path.join(__dirname, 'views/partial'),
// views: path.join(__dirname, 'views/action'),
// helpers: global.yoho.helpers
// }));
// router
app.use(require('./router'));
... ...
... ... @@ -69,7 +69,7 @@ module.exports = {
port: 4444 // influxdb port
},
console: {
level: 'error',
level: 'debug',
colorize: 'all',
prettyPrint: true
}
... ...