Skip to content

Commit

Permalink
test new vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
waldemarnt committed Jul 1, 2024
1 parent 026d082 commit db5129f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import InformationPage from "../pages/information";
import LeadsPage from "../pages/leads";


const basePath = '/curso-apps-enterprise-nodejs-landing-page';

export default function Router() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Navigate to="/increva-se" />} />
<Route path="/increva-se" element={<LeadsPage />} />
<Route path="/informacoes" element={<InformationPage />} />
<Route path={`${basePath}/`} element={<Navigate to={`${basePath}/increva-se`} />} />
<Route path={`${basePath}/increva-se`} element={<LeadsPage />} />
<Route path={`${basePath}/informacoes`} element={<InformationPage />} />
</Routes>
</BrowserRouter>
);
}
);
}

0 comments on commit db5129f

Please sign in to comment.