From adaf6370ff33d5da9d7c128b2aa6161d29cc5a70 Mon Sep 17 00:00:00 2001 From: KittenTM Date: Sat, 21 Feb 2026 04:45:47 +0100 Subject: [PATCH] rename /me route to /session_id/check to make more sense --- autoredirect.js | 2 +- users/auth/splatfestival/splatfestivalyay.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' });