szr190 2 місяців тому
батько
коміт
6397c16a1c
2 змінених файлів з 6 додано та 6 видалено
  1. 5 5
      .env.production
  2. 1 1
      src/composables/index.ts

+ 5 - 5
.env.production

@@ -6,12 +6,12 @@
6 6
  # @Description: 生产环境
7 7
 ### 
8 8
 # 接口地址
9
-VITE_BASE_URL="https://new.hqhuitong.com/api"
9
+VITE_BASE_URL="https://shenhai.hqhuitong.com/api"
10 10
 # 文件地址
11
-VITE_OSS_URL='https://new.hqhuitong.com'
11
+VITE_OSS_URL='https://shenhai.hqhuitong.com'
12 12
 # 文件桶
13
-VITE_BARREL_URL="/smartpark/"
13
+VITE_BARREL_URL="/shenhaigaosu/"
14 14
 # websocket地址
15
-VITE_SOCKET_URL='ws://new.hqhuitong.com/websocket?Authorization=Bearer%20'
15
+VITE_SOCKET_URL='wss://shenhai.hqhuitong.com/websocket?Authorization=Bearer%20'
16 16
 # 前端地址
17
-VITE_FRONT_URL='https://new.hqhuitong.com'
17
+VITE_FRONT_URL='https://shenhai.hqhuitong.com'

+ 1 - 1
src/composables/index.ts

@@ -6,7 +6,7 @@ export const useGlobal = () => {
6 6
   // 文件路径前缀
7 7
   const pathPre: string = import.meta.env.VITE_OSS_URL + import.meta.env.VITE_BARREL_URL
8 8
   // Minio地址配置
9
-  const minioUrl: string = import.meta.env.VITE_MINIO_URL
9
+  const minioUrl: string = pathPre + '/app'
10 10
   // 整数最大值
11 11
   const numberMax: number = 9999999999
12 12
   // 小数最大值