From 6503aa4384824fa5ca72c73a1ee4f15798c87e55 Mon Sep 17 00:00:00 2001 From: balex Date: Fri, 27 Feb 2026 22:40:35 +0100 Subject: [PATCH] icon --- rag-view/src/features/fetch-async/fetchWithAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag-view/src/features/fetch-async/fetchWithAuth.js b/rag-view/src/features/fetch-async/fetchWithAuth.js index ca9f764..cc16faa 100644 --- a/rag-view/src/features/fetch-async/fetchWithAuth.js +++ b/rag-view/src/features/fetch-async/fetchWithAuth.js @@ -24,7 +24,7 @@ export const fetchWithAuth = async ( if (responseText === SESSION_INVALIDATED) { localStorage.clear(); - window.location.href = "/login"; + window.location.href = `${import.meta.env.BASE_URL}login`; return firstRes; }