From 31689d837c8d11628d908fa346e513d7890a8ebc Mon Sep 17 00:00:00 2001 From: Loyd Osborne Date: Mon, 11 Mar 2024 01:35:27 -0600 Subject: [PATCH] Commit --- resources/heart-collectors/index-script.js | 6 +++--- resources/jbw-archive/index-script.js | 6 +++--- resources/jbw-beta/index-script.js | 6 +++--- resources/jujus-better-wynncraft/index-script.js | 6 +++--- resources/levlr/index-script.js | 6 +++--- resources/oauth/discord/callback/index-script.js | 8 ++++---- resources/oauth/discord/index-script.js | 8 ++++---- resources/scytedtv-assets/index-script.js | 6 +++--- resources/wave/index-script.js | 6 +++--- resources/wave/privacy-policy/index-script.js | 6 +++--- resources/wave/terms-of-service/index-script.js | 6 +++--- 11 files changed, 35 insertions(+), 35 deletions(-) diff --git a/resources/heart-collectors/index-script.js b/resources/heart-collectors/index-script.js index e229429..63c7be3 100644 --- a/resources/heart-collectors/index-script.js +++ b/resources/heart-collectors/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayAccessError(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayErrorInvalidAccess(); } }) @@ -47,7 +47,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/jbw-archive/index-script.js b/resources/jbw-archive/index-script.js index aaea69f..d4320af 100644 --- a/resources/jbw-archive/index-script.js +++ b/resources/jbw-archive/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/jbw-beta/index-script.js b/resources/jbw-beta/index-script.js index aaea69f..d4320af 100644 --- a/resources/jbw-beta/index-script.js +++ b/resources/jbw-beta/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/jujus-better-wynncraft/index-script.js b/resources/jujus-better-wynncraft/index-script.js index aaea69f..d4320af 100644 --- a/resources/jujus-better-wynncraft/index-script.js +++ b/resources/jujus-better-wynncraft/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/levlr/index-script.js b/resources/levlr/index-script.js index a6bb09b..9f465c6 100644 --- a/resources/levlr/index-script.js +++ b/resources/levlr/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayAccessError(); } else { // Fetch user data from Discord API @@ -37,7 +37,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayErrorInvalidAccess(); } }) @@ -51,7 +51,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/oauth/discord/callback/index-script.js b/resources/oauth/discord/callback/index-script.js index a61754c..0955a4e 100644 --- a/resources/oauth/discord/callback/index-script.js +++ b/resources/oauth/discord/callback/index-script.js @@ -2,7 +2,7 @@ const currentURL = window.location.href; function redirectToDiscord() { - const AuthUrl = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}callback`; + const AuthUrl = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}callback`; window.location.href = AuthUrl; } @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/oauth/discord/index-script.js b/resources/oauth/discord/index-script.js index a61754c..0955a4e 100644 --- a/resources/oauth/discord/index-script.js +++ b/resources/oauth/discord/index-script.js @@ -2,7 +2,7 @@ const currentURL = window.location.href; function redirectToDiscord() { - const AuthUrl = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}callback`; + const AuthUrl = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}callback`; window.location.href = AuthUrl; } @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/scytedtv-assets/index-script.js b/resources/scytedtv-assets/index-script.js index 2a83f7f..da2a5b5 100644 --- a/resources/scytedtv-assets/index-script.js +++ b/resources/scytedtv-assets/index-script.js @@ -13,7 +13,7 @@ document.addEventListener("DOMContentLoaded", function () { // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayAccessError(); } else { // Fetch user data from Discord API @@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayErrorInvalidAccess(); } }) @@ -49,7 +49,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/wave/index-script.js b/resources/wave/index-script.js index aaea69f..d4320af 100644 --- a/resources/wave/index-script.js +++ b/resources/wave/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/wave/privacy-policy/index-script.js b/resources/wave/privacy-policy/index-script.js index aaea69f..d4320af 100644 --- a/resources/wave/privacy-policy/index-script.js +++ b/resources/wave/privacy-policy/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } }); diff --git a/resources/wave/terms-of-service/index-script.js b/resources/wave/terms-of-service/index-script.js index aaea69f..d4320af 100644 --- a/resources/wave/terms-of-service/index-script.js +++ b/resources/wave/terms-of-service/index-script.js @@ -11,7 +11,7 @@ document.addEventListener("DOMContentLoaded", function () { displayContents(); // Redirect to login if access token is not found if (!storedAccessToken) { - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?redirectUri=${currentURL}`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?redirectUri=${currentURL}`; displayLoginButton(); } else { // Fetch user data from Discord API @@ -33,7 +33,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Redirect to the specified page if the user's ID is not in the - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=invalidAccess`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=invalidAccess`; displayContents(); displayUserInfo(userData); } @@ -48,7 +48,7 @@ document.addEventListener("DOMContentLoaded", function () { // Clear cookies // document.cookie = "accessToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; // Handle error (e.g., redirect to login page) - // window.location.href = `https://auth.scyted.tv/www.scyted.tv/dashboard-temp?error=fetchingUserData`; + // window.location.href = `https://auth.scyted.tv/www.scyted.tv/resources-temp?error=fetchingUserData`; }); } });