build 微调构建配置

This commit is contained in:
bootx
2024-02-16 21:13:06 +08:00
parent c0655c5da6
commit 267d03defc
2 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# 只在开发模式中被载入
# 端口号
VITE_PORT = 9100
# 网站根目录
@@ -8,7 +8,7 @@ VITE_PUBLIC_PATH = /h5
VITE_DROP_CONSOLE = true
# 跨域代理,可以配置多个,请注意不要换行
VITE_PROXY=[["/api","http://localhost:9000"]]
VITE_PROXY=[["/server","http://localhost:9000"]]
# API 接口地址
# 如果没有跨域问题,直接在这里配置即可
@@ -21,7 +21,7 @@ VITE_GLOB_UPLOAD_URL =
VITE_GLOB_IMG_URL =
# 接口前缀
VITE_GLOB_API_URL_PREFIX = /api
VITE_GLOB_API_URL_PREFIX = /server