Skip to content

Commit 9aba987

Browse files
committed
fix: remove NetworkingExtension
1 parent e986b04 commit 9aba987

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/util.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const connect = () =>
1313
const isBot = userAgent => {
1414
const result =
1515
isbot(userAgent) ||
16-
['CFNetwork', 'retweet'].some(str => userAgent.includes(str))
16+
['NetworkingExtension', 'CFNetwork', 'retweet'].some(str =>
17+
userAgent.includes(str)
18+
)
1719
if (result) debug(userAgent)
1820
return result
1921
}

0 commit comments

Comments
 (0)