We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec9d6ef commit 3c09e0dCopy full SHA for 3c09e0d
1 file changed
Eplant/main.tsx
@@ -22,7 +22,7 @@ import Eplant from './Eplant'
22
import './css/index.css'
23
const router = createBrowserRouter([
24
{
25
- path: import.meta.env.BASE_URL ?? '/',
+ path: '/',
26
element: <Eplant />,
27
children: [
28
@@ -67,7 +67,9 @@ const router = createBrowserRouter([
67
],
68
errorElement: <ErrorBoundary></ErrorBoundary>,
69
},
70
-])
+], {
71
+ basename: import.meta.env.BASE_URL ?? '/',
72
+})
73
74
export const queryClient = new QueryClient()
75
0 commit comments