From 74d7b10386b6aced8c103612fded5813615e58a8 Mon Sep 17 00:00:00 2001 From: Boris Cherepanov Date: Sun, 19 Apr 2026 21:01:30 +0300 Subject: [PATCH] feat: remove useless host --- furumi-node-player/client/src/App.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/furumi-node-player/client/src/App.tsx b/furumi-node-player/client/src/App.tsx index 51a08a4..d21ab3f 100644 --- a/furumi-node-player/client/src/App.tsx +++ b/furumi-node-player/client/src/App.tsx @@ -34,7 +34,7 @@ function App() { const loadMe = async () => { try { - const response = await fetch(`${apiBase}/api/me`, { + const response = await fetch(`/api/me`, { credentials: 'include', }) @@ -59,8 +59,8 @@ function App() { void loadMe() }, [apiBase, runWithoutAuth]) - const loginUrl = `${apiBase}/api/login` - const logoutUrl = `${apiBase}/api/logout` + const loginUrl = `/api/login` + const logoutUrl = `/api/logout` return ( <>