diff --git a/autoredirect.js b/autoredirect.js index 252feb5..a749093 100644 --- a/autoredirect.js +++ b/autoredirect.js @@ -1,10 +1,9 @@ document.addEventListener("DOMContentLoaded", function () { - const apiBase = CONFIG.API_BASE_URL; const friendListUrl = "/friend_list/index.html"; async function checkExistingSession() { try { - const response = await fetch(`${apiBase}/api/v1/session_id/check`, { + const response = await fetch("/api/v1/session_id/check", { method: 'GET', credentials: 'include' }); diff --git a/header.html b/header.html index 7dc952e..ec1d729 100644 --- a/header.html +++ b/header.html @@ -103,6 +103,5 @@
-