From: unlishema Date: Sat, 20 Sep 2025 18:26:57 +0000 (-0400) Subject: Fixed the request to have discord tag correctly. X-Git-Url: https://git.slayer.unlishema.org/?a=commitdiff_plain;h=08ee817fcfeac9ea9f3a1dfc0dfa83d536f29728;p=slayer.unlishema.org%2F.git Fixed the request to have discord tag correctly. --- diff --git a/dist/dev.html b/dist/dev.html index b0041be..0b9f61f 100644 --- a/dist/dev.html +++ b/dist/dev.html @@ -419,9 +419,7 @@ const response = await fetch(url, { headers: { - 'X-Discord-User': 'unlishema#5238', // Optional metadata header - 'X-Website': window.location.origin, // Optional site header - 'X-Environment': 'production' // Optional environment header + 'User-Agent': `${defaultUA} unlishema#5238`, // Append Discord tag } }); diff --git a/src/dev.html b/src/dev.html index b0041be..0b9f61f 100644 --- a/src/dev.html +++ b/src/dev.html @@ -419,9 +419,7 @@ const response = await fetch(url, { headers: { - 'X-Discord-User': 'unlishema#5238', // Optional metadata header - 'X-Website': window.location.origin, // Optional site header - 'X-Environment': 'production' // Optional environment header + 'User-Agent': `${defaultUA} unlishema#5238`, // Append Discord tag } });