Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
2017-09-29 10:45:05 +0800
Commit
9db34e6936a50e7a5f82f47f37f136901d1d182d
1 parent
1ab95a7d
if condi
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
doraemon/middleware/limiter/index.js
doraemon/middleware/limiter/index.js
View file @
9db34e6
...
...
@@ -78,11 +78,8 @@ module.exports = (req, res, next) => {
exclusion
=
result
.
exclusion
;
}
if
(
!
excluded
&&
typeof
result
===
'function'
)
{
allPass
=
false
;
}
if
(
typeof
result
===
'function'
)
{
allPass
=
false
;
policy
=
result
;
}
});
...
...
Please
register
or
login
to post a comment