Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit 404b694

Browse files
committed
Removed basename on app.tsx
1 parent 26379db commit 404b694

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Nassport: Non a Passport</title>
7-
<script type="module" crossorigin src="/assets/index-BB6SaD3u.js"></script>
8-
<link rel="stylesheet" crossorigin href="/assets/index-PHoO3Mac.css">
7+
<script type="module" crossorigin src="./assets/index-D8kEK5Gs.js"></script>
8+
<link rel="stylesheet" crossorigin href="./assets/index-PHoO3Mac.css">
99
</head>
1010
<body>
1111
<div id="root"></div>

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import { AppProvider } from './context/AppContext';
1414
function App() {
1515
return (
1616
<AppProvider>
17-
<Router basename='/LIFT-frontend'>
17+
<Router>
18+
{/* <Router basename='/LIFT-frontend'> */}
1819
<div className='App'>
1920
<Routes>
2021
{/* Entry point */}

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react';
33

44
// https://vite.dev/config/
55
export default defineConfig({
6-
base: '/LIFT-frontend/',
6+
base: './',
77
// base: '/LIFT-frontend/',
88
plugins: [react()],
99
});

0 commit comments

Comments
 (0)