From 849212e038b63c80a73cfb2f64436059199a4634 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 2 Sep 2023 23:42:54 +0200 Subject: [PATCH] Remove 'referrer' from fetch This is not supported by Cloudflare. Oh well --- src/lib/instance.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/instance.ts b/src/lib/instance.ts index 0430574..7b7a959 100644 --- a/src/lib/instance.ts +++ b/src/lib/instance.ts @@ -26,7 +26,6 @@ const getInstancesForProject = async ( "Accept-Language": "en;q=1.0", "Content-Type": "application/json", }, - referrer: "https://api.fediverse.observer/", body: JSON.stringify({ query: `{nodes(status:"UP",softwarename:"${project}"){domain score active_users_monthly total_users}}`, }),