diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-06 23:00:51 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-06 23:09:09 +0200 |
commit | 253706c8957194cd4bd1af27eb8d8c50c5260f49 (patch) | |
tree | a0fffac1151473cb62e0aa7b596a2cacab8cbc73 /src | |
parent | fmt (diff) | |
download | fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.tar.gz fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.tar.bz2 fs-tracer-frontend-253706c8957194cd4bd1af27eb8d8c50c5260f49.zip |
Misc: Add GH pages deploy
Diffstat (limited to 'src')
-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>} /> |