Allowlist CFNetwork as a bot

This commit is contained in:
dangered wolf 2022-08-09 18:03:53 -04:00
parent 0d441ad906
commit e7cde2be60
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -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 (