From f06d2847f0496cb0e411519664dd2d1f06ac2017 Mon Sep 17 00:00:00 2001 From: Nanashi Date: Mon, 9 Oct 2023 11:50:03 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20e2e=E3=81=8C=E8=90=BD=E3=81=A1=E3=81=A6?= =?UTF-8?q?=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3=20(#35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: "/", }, ];