Forráskód Böngészése

fix: 代理修改

luoyujia 6 hónapja
szülő
commit
2f807d6e67
2 módosított fájl, 4 hozzáadás és 3 törlés
  1. 2 1
      .env.development
  2. 2 2
      .env.production

+ 2 - 1
.env.development

@@ -24,8 +24,9 @@ VITE_GLOB_PUBLIC_PATH = /
 # VITE_PROXY = [["/api","http://192.168.10.125:8080/api"],["/thingskit-drawio","http://192.168.10.125:8080/api"]]
 # VITE_PROXY = [["/api","http://106.12.170.138:7070"]]
 # VITE_PROXY = [["/api","http://192.168.148.30:20033/api"]]
-VITE_PROXY = [["/api","http://221.182.8.141:11225/api"],["/openUrl","http://118.122.253.32:83/openUrl"]]
+# VITE_PROXY = [["/api","http://221.182.8.141:11225/api"],["/openUrl","http://118.122.253.32:83/openUrl"]]
 # VITE_PROXY = [["/api","http://192.168.2.156:11225/api"],["/openUrl","http://118.122.253.32:83/openUrl"],["/v1","https://zlopen.yun-ti.com/api/v1"]]
+VITE_PROXY = [["/api","http://192.168.2.8:11225/api"],["/openUrl","http://118.122.253.32:83/openUrl"],["/v1","https://zlopen.yun-ti.com/api/v1"],["/tttPdf","http://221.182.8.141:23858/tttPdf"]]
 
 
 

+ 2 - 2
.env.production

@@ -2,7 +2,7 @@
  # @Author: renxin renxin0828@163.com
  # @Date: 2023-03-31 13:53:57
  # @LastEditors: luoyujia 1027671187@qq.com
- # @LastEditTime: 2024-08-26 15:01:37
+ # @LastEditTime: 2024-10-14 09:29:13
  # @FilePath: \thingskit-base\.env.production
  # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 ### 
@@ -29,7 +29,7 @@ VITE_GLOB_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
 # Basic interface address SPA
 # VITE_GLOB_API_URL=http://192.168.2.225/api
 #VITE_GLOB_API_URL=http://106.12.170.138:7070
-VITE_GLOB_API_URL=http://221.182.8.141:11225/api
+VITE_GLOB_API_URL=http://192.168.2.8:11225/api
 
 # File upload address, optional
 # It can be forwarded by nginx or write the actual address directly