diff options
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.tsx b/src/App.tsx index ab749ab..a7e9634 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,12 +13,12 @@ function App() { const [session, setSession] = useState(null) return ( <> - <BrowserRouter> + <BrowserRouter basename={import.meta.env.DEV ? '/' : '/fs-tracer-frontend'}> <Routes> <Route index element={ <Home supabase={supabase} session={session} /> } /> - <Route path="/login" element={ + <Route path="login" element={ <Login supabase={supabase} session={session} setSession={setSession} /> } /> <Route path="*" element={<p>notfound</p>} /> |