From e7cde2be60401b1059f010936c8b6a0611064731 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Tue, 9 Aug 2022 18:03:53 -0400 Subject: [PATCH] Allowlist CFNetwork as a bot --- src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index 59d9b33..b443142 100644 --- a/src/server.ts +++ b/src/server.ts @@ -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 (