fix: base url fix

This commit is contained in:
Markus
2026-08-20 15:21:23 +03:00
parent 1bdb6f51ef
commit 56501b492a
+1 -1
View File
@@ -143,7 +143,7 @@ const App = (props) => {
const renderWithLoadingCheck = (component) => (isLoading ? <LoadingSpinner /> : component)
return (
<BrowserRouter basename={import.meta.env.BASE_URL}>
<BrowserRouter basename={import.meta.env.BASE_URL.replace(/\/$/, '') || '/'}>
<div id="app-wrapper">
<NavigationBar logout={logout} />
<Notification />