From 08ee817fcfeac9ea9f3a1dfc0dfa83d536f29728 Mon Sep 17 00:00:00 2001 From: unlishema Date: Sat, 20 Sep 2025 14:26:57 -0400 Subject: [PATCH] Fixed the request to have discord tag correctly. --- dist/dev.html | 4 +--- src/dev.html | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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 } }); -- 2.43.0