...
|
...
|
@@ -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');
|
...
|
...
|
|