Showing
1 changed file
with
3 additions
and
3 deletions
@@ -71,9 +71,9 @@ app.set('json replacer', function(key, value) { | @@ -71,9 +71,9 @@ app.set('json replacer', function(key, value) { | ||
71 | }); | 71 | }); |
72 | 72 | ||
73 | // 请求限制中间件 | 73 | // 请求限制中间件 |
74 | -#if (!app.locals.devEnv) { | ||
75 | -# app.use(require('./doraemon/middleware/limiter')); | ||
76 | -#} | 74 | +//if (!app.locals.devEnv) { |
75 | +// app.use(require('./doraemon/middleware/limiter')); | ||
76 | +//} | ||
77 | 77 | ||
78 | // 指定libray目录 | 78 | // 指定libray目录 |
79 | global.utils = path.resolve('./utils'); | 79 | global.utils = path.resolve('./utils'); |
-
Please register or login to post a comment