Authored by ccbikai

移除无用全局变量

Showing 1 changed file with 0 additions and 1 deletions
@@ -34,7 +34,6 @@ app.locals.version = pkg.version; @@ -34,7 +34,6 @@ app.locals.version = pkg.version;
34 yohoLib.global(config); 34 yohoLib.global(config);
35 35
36 // 指定libray目录 36 // 指定libray目录
37 -global.middleware = path.resolve('./doraemon/middleware');  
38 global.utils = path.resolve('./utils'); 37 global.utils = path.resolve('./utils');
39 38
40 const logger = global.yoho.logger; 39 const logger = global.yoho.logger;