...
|
...
|
@@ -25,7 +25,7 @@ app.use(cookieParser()); |
|
|
app.use(express.static(path.join(__dirname, 'public')));
|
|
|
|
|
|
app.use(function(req, res, next) {
|
|
|
res.locals.env = app.get('env');
|
|
|
res.locals.isDevelop = app.get('env') === 'development';
|
|
|
next();
|
|
|
});
|
|
|
|
...
|
...
|
|