diff --git a/autoredirect.js b/autoredirect.js index 81520ef..252feb5 100644 --- a/autoredirect.js +++ b/autoredirect.js @@ -4,7 +4,7 @@ document.addEventListener("DOMContentLoaded", function () { async function checkExistingSession() { try { - const response = await fetch(`${apiBase}/api/v1/users/me`, { + const response = await fetch(`${apiBase}/api/v1/session_id/check`, { method: 'GET', credentials: 'include' }); diff --git a/users/auth/splatfestival/splatfestivalyay.js b/users/auth/splatfestival/splatfestivalyay.js index 5410a0b..1e81769 100644 --- a/users/auth/splatfestival/splatfestivalyay.js +++ b/users/auth/splatfestival/splatfestivalyay.js @@ -10,7 +10,7 @@ $(document).ready(function () { async function checkExistingSession() { try { - const response = await fetch(apiBase + "/api/v1/users/me", { + const response = await fetch(apiBase + "/api/v1/session_id/check", { method: 'GET', credentials: 'include' });