11
This commit is contained in:
1 parent
4e161409df
commit
6b89a5e9f6
4 files changed
+4
-4
No files matched your search
@@ -4,7 +4,7 @@ NODE_ENV=production
|
||||
VITE_DEV=true
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL='https://xrhomeapi.zianxin.com'
|
||||
VITE_BASE_URL='https://xrhomeapi.asset-cloud.com.cn'
|
||||
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ VITE_DEV=true
|
||||
# 请求路径
|
||||
# VITE_BASE_URL= http://116.148.200.224:48089
|
||||
# VITE_BASE_URL= http://127.0.0.1:8089
|
||||
VITE_BASE_URL='https://xrhomeapi.zianxin.com'
|
||||
VITE_BASE_URL='https://xrhomeapi.asset-cloud.com.cn'
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ NODE_ENV=production
|
||||
VITE_DEV=false
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL='https://xrhomeapi.zianxin.com'
|
||||
VITE_BASE_URL='https://xrhomeapi.asset-cloud.com.cn'
|
||||
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
// 本地跨域代理. 目前注释的原因:暂时没有用途,server 端已经支持跨域
|
||||
proxy: {
|
||||
'/admin-api': {
|
||||
target: 'https://xrhomeapi.zianxin.com',
|
||||
target: 'https://xrhomeapi.asset-cloud.com.cn',
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(new RegExp(`^/admin-api`), ''),
|
||||
|
||||
Reference in new issue
Block a user