配置地址
This commit is contained in:
@@ -7,10 +7,10 @@ VITE_PUBLIC_PATH = /
|
||||
|
||||
# 跨域代理:前缀需与 VITE_GLOB_API_URL 一致,且 rewrite 后路径需包含后端 context-path(/jeecg-boot)
|
||||
# 详见 build/vite/proxy.ts
|
||||
VITE_PROXY = [["/jeecg-boot","http://localhost:8888/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
|
||||
VITE_PROXY = [["/jeecg-boot","http://localhost:8888"],["/upload","http://localhost:3300/upload"]]
|
||||
|
||||
#后台接口全路径地址(必填)
|
||||
VITE_GLOB_DOMAIN_URL=http://localhost:8888/jeecg-boot
|
||||
VITE_GLOB_DOMAIN_URL=http://localhost:8888
|
||||
|
||||
#后台接口父地址(必填),与 server.servlet.context-path 一致,避免仅去掉别名前缀后缺少 /jeecg-boot
|
||||
VITE_GLOB_API_URL=/jeecg-boot
|
||||
|
||||
Reference in New Issue
Block a user