Commit 1a4eb284478ce612783a3e4c3213ffaabeb77219

Authored by 黄 x
1 parent 2f7d842b

fix(front): 调整组态VITE_PROXY代理

Showing 1 changed file with 3 additions and 3 deletions
... ... @@ -13,10 +13,10 @@ VITE_PUBLIC_PATH = /
13 13 # 线上演示环境
14 14 # VITE_PROXY = [["/api","http://101.133.234.90:8080/api"]]
15 15 # 线上测试环境
16   -VITE_PROXY = [["/api","https://dev.thingskit.com/api"]]
  16 +VITE_PROXY = [["/api","http://localhost:8080/api"],["/thingskit-drawio","http://localhost:3000/"]]
17 17
18 18 # 实时数据的ws地址
19   -VITE_WEB_SOCKET = wss://dev.thingskit.com/api/ws/plugins/telemetry?token=
  19 +VITE_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token=
20 20
21 21 # Delete console
22 22 VITE_DROP_CONSOLE = true
... ... @@ -31,4 +31,4 @@ VITE_GLOB_UPLOAD_URL=/api/yt/oss/upload
31 31 VITE_GLOB_API_URL_PREFIX=/yt
32 32
33 33 #configuration
34   -VITE_GLOB_CONFIGURATION = http://localhost:3000
  34 +VITE_GLOB_CONFIGURATION = /thingskit-drawio
... ...