Skip to content

Commit

Permalink
fix: bad request
Browse files Browse the repository at this point in the history
  • Loading branch information
Valimp committed Mar 6, 2024
1 parent e2d5e42 commit f35d482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f35d482

Please sign in to comment.