Remove 'referrer' from fetch

This is not supported by Cloudflare. Oh well
This commit is contained in:
Nikita Karamov 2023-09-02 23:42:54 +02:00
parent 861abd1b43
commit 849212e038
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD

View file

@ -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}}`,
}),