Skip to content

Commit 3bd55e2

Browse files
committed
chore: tweaks
1 parent ffba2b1 commit 3bd55e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/util.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ const connect = () =>
1212

1313
const isBot = userAgent => {
1414
const result =
15-
isbot(userAgent) || ['CFNetwork'].some(str => userAgent.includes(str))
15+
isbot(userAgent) ||
16+
['CFNetwork', 'retweet'].some(str => userAgent.includes(str))
1617
if (result) debug(userAgent)
1718
return result
1819
}

0 commit comments

Comments
 (0)