mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Allowlist CFNetwork as a bot
This commit is contained in:
parent
0d441ad906
commit
e7cde2be60
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const statusRequest = async (
|
|||
|
||||
const isBotUA =
|
||||
userAgent.match(
|
||||
/bot|facebook|embed|got|firefox\/92|curl|wget|go-http|yahoo|generator|whatsapp|preview|link|proxy|vkshare|images|analyzer|index|crawl|spider|python/gi
|
||||
/bot|facebook|embed|got|firefox\/92|curl|wget|go-http|yahoo|generator|whatsapp|preview|link|proxy|vkshare|images|analyzer|index|crawl|spider|python|cfnetwork/gi
|
||||
) !== null;
|
||||
|
||||
if (
|
||||
|
|
Loading…
Add table
Reference in a new issue