mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
fix(web): reactRouter basename not work
This commit is contained in:
+1
-5
@@ -1,6 +1,5 @@
|
||||
import { createHashRouter } from "react-router-dom";
|
||||
import RootLayout from "@/components/layouts/root-layout";
|
||||
import { env } from "@/config";
|
||||
import MemShellPage from "@/pages/memshell";
|
||||
import ProbeShellPage from "@/pages/probeshell";
|
||||
import type { MemShellFormSchema } from "@/types/schema";
|
||||
@@ -96,8 +95,5 @@ export const router = createHashRouter(
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
{
|
||||
basename: env.BASE_PATH,
|
||||
},
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user