Commit 56456350 by 王宝涛

chore(config): 更新环境配置中的API地址

- 将开发环境API地址从192.168.8.100改为127.0.0.1
- 将生产环境API地址从https://vue.xjrsoft.com:82改为http://112.230.195.2:8053
- 将文件预览地址从https://vue.xjrsoft.com:7001改为http://112.230.195.2:9012


(cherry picked from commit b932317c)
parent 470bb9a0
......@@ -16,7 +16,7 @@ VITE_DROP_CONSOLE = false
# 接口地址
# 如果没有跨域问题,直接在这里配置即可
VITE_GLOB_API_URL=http://192.168.8.100:8053
VITE_GLOB_API_URL=http://127.0.0.1:8053
# 文件上传接口 可选
VITE_GLOB_UPLOAD_URL = /system/oss/upload
......
......@@ -16,14 +16,14 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 接口地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_API_URL=https://vue.xjrsoft.com:82
VITE_GLOB_API_URL=http://112.230.195.2:8053
# 文件上传地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_UPLOAD_URL = /system/oss/upload
# 文件预览接口 可选
VITE_GLOB_UPLOAD_PREVIEW = https://vue.xjrsoft.com:7001/onlinePreview?url=
VITE_GLOB_UPLOAD_PREVIEW = http://112.230.195.2:9012/onlinePreview?url=
#外部url地址
VITE_GLOB_OUT_LINK_URL = http://vue.xjrsoft.com:3200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment