Showing
1 changed file
with
1 additions
and
1 deletions
@@ -41,7 +41,7 @@ module.exports = (req, res, next) => { | @@ -41,7 +41,7 @@ module.exports = (req, res, next) => { | ||
41 | 41 | ||
42 | if (remoteIp && | 42 | if (remoteIp && |
43 | !_.get(req.app.locals, 'pc.sys.noLimiter') && | 43 | !_.get(req.app.locals, 'pc.sys.noLimiter') && |
44 | - _.includes(IP_WHITE_LIST, remoteIp)) { // 判断获取remoteIp成功,并且开关未关闭 | 44 | + !_.includes(IP_WHITE_LIST, remoteIp)) { // 判断获取remoteIp成功,并且开关未关闭 |
45 | 45 | ||
46 | let key = `pc:limiter:${remoteIp}`; | 46 | let key = `pc:limiter:${remoteIp}`; |
47 | 47 |
-
Please register or login to post a comment