From f35d48217bc2175a915d94d60738d1757b6c8d9e Mon Sep 17 00:00:00 2001 From: Valimp Date: Wed, 6 Mar 2024 15:50:51 +0100 Subject: [PATCH] fix: bad request --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 631d096..31c92d7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -59,7 +59,7 @@ export default function App() { } // If the session cookie is not null, send a request to the server to check if the user is logged in const isLoggedIn = axios - .get(`${import.meta.env.VITE_PO_URL}/cgi/session.pl`, { + .get(`${import.meta.env.VITE_PO_URL}/cgi/auth.pl`, { withCredentials: true, }) // If the request is successful, set the user state to logged in