Rutas relativas

This commit is contained in:
2025-03-11 11:07:44 -06:00
parent 042e2577dc
commit c03973b0d3
5 changed files with 7 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import NotFound from './pages/NotFound.tsx';
import Home from './pages/Home.tsx';
createRoot(document.getElementById('root')!).render(
<BrowserRouter>
<BrowserRouter basename="/visor3d">
<Routes>
<Route path="/" element={<Home />} />
<Route path="/login" element={<Login />} />