From a1ffb3c884acd3bdcad372bab4df729e9ebe97ff Mon Sep 17 00:00:00 2001 From: "chen.home" <1147347984@qq.com> Date: Mon, 6 Feb 2023 22:43:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(project):=20=E4=BF=AE=E6=94=B9=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E6=A8=A1=E5=BC=8F=EF=BC=8C=E5=A2=9E=E5=8A=A0vercel?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- vercel.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 vercel.json diff --git a/.env b/.env index 980849d..7ffcf9d 100644 --- a/.env +++ b/.env @@ -6,6 +6,6 @@ VITE_APP_TITLE=Ench管理系统 VITE_APP_DESC=EnchAdmin是一个中后台管理系统模版 # 路由模式 -VITE_HASH_ROUTE = Y +VITE_HASH_ROUTE = N # 权限路由模式: static | dynamic VITE_AUTH_ROUTE_MODE=dynamic diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..5606749 --- /dev/null +++ b/vercel.json @@ -0,0 +1,3 @@ +{ + "rewrites": [{ "source": "/:path*", "destination": "/index.html" }] +}