Authored by ccbikai(👎🏻🍜)

httpCtx 只需要一次

Showing 1 changed file with 0 additions and 3 deletions
... ... @@ -65,9 +65,6 @@ const logger = global.yoho.logger;
// 访问域名层级
app.set('subdomain offset', 3);
// 添加请求上下文
app.use(global.yoho.httpCtx());
app.use(global.yoho.hbs({
extname: '.hbs',
defaultLayout: 'layout',
... ...