Authored by 毕凯

Update app.js

Showing 1 changed file with 3 additions and 3 deletions
... ... @@ -71,9 +71,9 @@ app.set('json replacer', function(key, value) {
});
// 请求限制中间件
#if (!app.locals.devEnv) {
# app.use(require('./doraemon/middleware/limiter'));
#}
//if (!app.locals.devEnv) {
// app.use(require('./doraemon/middleware/limiter'));
//}
// 指定libray目录
global.utils = path.resolve('./utils');
... ...