Browse Source

reactor:请求地址变更;

zhangchong 1 year ago
parent
commit
093fd9dba3
2 changed files with 6 additions and 3 deletions
  1. 3 3
      .env.yibin
  2. 3 0
      README.md

+ 3 - 3
.env.yibin

@@ -2,16 +2,16 @@
 VITE_MODE_NAME=yibin
 
 # # 基础请求地址
-VITE_API_URL=http://192.168.1.220:50100
+VITE_API_URL=http://172.27.2.207:50100
 
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=hotline
 
 # #socket API
-VITE_API_SOCKET_URL=http://192.168.1.220:50100/hubs/hotline
+VITE_API_SOCKET_URL=http://172.27.2.207:50100/hubs/hotline
 
 # #上传 API
-VITE_API_UPLOAD_URL=http://192.168.1.220:50100
+VITE_API_UPLOAD_URL=http://172.27.2.207:50100
 
 # # 文件上传地址前缀
 VITE_FILE_PREFIX=http://open.fs.12345lm.cn

+ 3 - 0
README.md

@@ -19,4 +19,7 @@ npm run dev
 
 # 打包发布
 npm run build
+
+# 打包发布宜宾环境
+npm run build:yibin
 ```