Authored by 姜枫

mege

@@ -17,14 +17,14 @@ app.on('mount', function(parent) { @@ -17,14 +17,14 @@ app.on('mount', function(parent) {
17 Object.assign(app.locals, parent.locals); 17 Object.assign(app.locals, parent.locals);
18 }); 18 });
19 19
20 -app.use(global.yoho.hbs({  
21 - extname: '.hbs',  
22 - defaultLayout: 'layout',  
23 - layoutsDir: doraemon,  
24 - partialsDir: path.join(__dirname, 'views/partial'),  
25 - views: path.join(__dirname, 'views/action'),  
26 - helpers: global.yoho.helpers  
27 -})); 20 +// app.use(global.yoho.hbs({
  21 +// extname: '.hbs',
  22 +// defaultLayout: 'layout',
  23 +// layoutsDir: doraemon,
  24 +// partialsDir: path.join(__dirname, 'views/partial'),
  25 +// views: path.join(__dirname, 'views/action'),
  26 +// helpers: global.yoho.helpers
  27 +// }));
28 28
29 // router 29 // router
30 app.use(require('./router')); 30 app.use(require('./router'));
@@ -69,7 +69,7 @@ module.exports = { @@ -69,7 +69,7 @@ module.exports = {
69 port: 4444 // influxdb port 69 port: 4444 // influxdb port
70 }, 70 },
71 console: { 71 console: {
72 - level: 'error', 72 + level: 'debug',
73 colorize: 'all', 73 colorize: 'all',
74 prettyPrint: true 74 prettyPrint: true
75 } 75 }