diff --git a/src/router/index.ts b/src/router/index.ts index 59c5d1a446..f37a5fa33c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -10,10 +10,11 @@ import { isBrowser } from "@/type/preload"; const routes: Array = [ { - path: "/", + path: "/home", component: import.meta.env.VITE_TARGET === "mobile" ? MobileEditorHome : EditorHome, props: (route) => ({ projectFilePath: route.query["projectFilePath"] }), + alias: "/", }, ];