mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: base url fix
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user