配置地址
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,10 +1,15 @@
|
|||||||
## ide
|
## ide
|
||||||
**/.idea
|
**/.idea
|
||||||
|
**/.project
|
||||||
|
**/.classpath
|
||||||
|
**/.factorypath
|
||||||
|
**/.settings/
|
||||||
*.iml
|
*.iml
|
||||||
rebel.xml
|
rebel.xml
|
||||||
|
|
||||||
## backend
|
## backend
|
||||||
**/target
|
**/target
|
||||||
|
**/bin/
|
||||||
**/logs
|
**/logs
|
||||||
|
|
||||||
## front
|
## front
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ VITE_PUBLIC_PATH = /
|
|||||||
|
|
||||||
# 跨域代理:前缀需与 VITE_GLOB_API_URL 一致,且 rewrite 后路径需包含后端 context-path(/jeecg-boot)
|
# 跨域代理:前缀需与 VITE_GLOB_API_URL 一致,且 rewrite 后路径需包含后端 context-path(/jeecg-boot)
|
||||||
# 详见 build/vite/proxy.ts
|
# 详见 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
|
#后台接口父地址(必填),与 server.servlet.context-path 一致,避免仅去掉别名前缀后缺少 /jeecg-boot
|
||||||
VITE_GLOB_API_URL=/jeecg-boot
|
VITE_GLOB_API_URL=/jeecg-boot
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ VITE_BUILD_COMPRESS = 'gzip'
|
|||||||
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
|
||||||
|
|
||||||
#后台接口父地址(必填)
|
#后台接口父地址(必填)
|
||||||
VITE_GLOB_API_URL=/jeecgboot
|
VITE_GLOB_API_URL=/jeecg-boot
|
||||||
|
|
||||||
#后台接口全路径地址(必填)
|
#后台接口全路径地址(必填)
|
||||||
VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8888/jeecg-boot
|
VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8888/jeecg-boot
|
||||||
|
|||||||
Reference in New Issue
Block a user