...
|
...
|
@@ -28,13 +28,6 @@ app.use(global.yoho.hbs({ |
|
|
helpers: global.yoho.helpers
|
|
|
}));
|
|
|
|
|
|
// for zookeeper, inject locals
|
|
|
app.use((req, res, next) => {
|
|
|
req.app.locals.wap = app.locals.wap;
|
|
|
|
|
|
next();
|
|
|
});
|
|
|
|
|
|
require('./auth');
|
|
|
app.use(passport.initialize());
|
|
|
app.use(passport.session());
|
...
|
...
|
|