Skip to content

Commit

Permalink
Remove 'referrer' from fetch
Browse files Browse the repository at this point in the history
This is not supported by Cloudflare. Oh well
  • Loading branch information
kytta committed Sep 2, 2023
1 parent 861abd1 commit 849212e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`,
}),
Expand Down

0 comments on commit 849212e

Please sign in to comment.