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" }] +}