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
周少峰
8 years ago
Commit
b02c3e01aa17c22f171662581a774b95b5a37536
1 parent
b0d3c447
detail path
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
doraemon/middleware/limiter/rules/useragent.js
doraemon/middleware/limiter/rules/useragent.js
View file @
b02c3e0
...
...
@@ -18,8 +18,6 @@ module.exports = (limiter, policy) => {
const
blacklist
=
args
[
0
]
||
[],
whitelist
=
args
[
1
]
||
[];
logger
.
debug
(
args
);
if
(
blacklist
.
length
===
0
&&
whitelist
.
length
===
0
)
{
return
Promise
.
resolve
(
true
);
}
...
...
Please
register
or
login
to post a comment