You've already forked AstralRinth
forked from didirus/AstralRinth
Add x-archon-request header
This commit is contained in:
@@ -69,6 +69,7 @@ export async function useServersFetch<T>(
|
|||||||
|
|
||||||
const headers: Record<string, string> = {
|
const headers: Record<string, string> = {
|
||||||
"User-Agent": "Modrinth/1.0 (https://modrinth.com)",
|
"User-Agent": "Modrinth/1.0 (https://modrinth.com)",
|
||||||
|
"X-Archon-Request": "true",
|
||||||
Vary: "Accept, Origin",
|
Vary: "Accept, Origin",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user