Skip to content

Commit 7103daf

Browse files
committed
修改后台项目默认为 hash 路由,无需配置伪静态
1 parent 03b36db commit 7103daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/.env.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ VITE_APP_DESC=imi AI 管理后台
99
VITE_API_URL=http://localhost:12333
1010

1111
# Y=hash路由, N=history路由
12-
VITE_HASH_ROUTE=N
12+
VITE_HASH_ROUTE=Y
1313

1414
# 权限路由模式: static | dynamic
1515
VITE_AUTH_ROUTE_MODE=static

0 commit comments

Comments
 (0)