chore: add deployment path environment variable
Some checks failed
Release pipeline / Always run job (push) Has been cancelled
Release pipeline / publish (push) Has been cancelled

add VUE_APP_PUBLIC_PATH to configure the app deployment base path as /dist/
This commit is contained in:
sheng
2026-06-23 17:16:06 +08:00
parent 7ede037dd3
commit 82ae99fca8

3
.env
View File

@@ -19,3 +19,6 @@ VUE_APP_ELEMENT_COLOR=#409EFF
# 后台接口地址(代理目标) # 后台接口地址(代理目标)
VUE_APP_BASE_URL=http://127.0.0.1:22666/background/ VUE_APP_BASE_URL=http://127.0.0.1:22666/background/
# 部署路径
VUE_APP_PUBLIC_PATH=/dist/