From e7cb18f14bacc5b39c7b497ff3eb40bf1ac86c53 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Mon, 10 Oct 2022 13:11:47 +0300 Subject: [PATCH] Enable donates --- src/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 78f986a..d480740 100644 --- a/src/index.ts +++ b/src/index.ts @@ -123,11 +123,7 @@ export async function handleRequest(request: Request) { donatesEnabled = true; } else if ( appVersion.flavor == 'google' && - !(request.cf?.asOrganization || '').toLowerCase().includes('google') && - (request.cf?.country == 'DE' || - request.cf?.country == 'TR' || - request.cf?.country == 'CY' || - request.cf?.country == 'CH') + !(request.cf?.asOrganization || '').toLowerCase().includes('google') ) { donatesEnabled = true; }