Showing
2 changed files
with
5 additions
and
7 deletions
| ... | ... | @@ -8,12 +8,10 @@ VITE_GLOB_PUBLIC_PATH = / |
| 8 | 8 | # Please note that no line breaks |
| 9 | 9 | |
| 10 | 10 | # 本地 |
| 11 | -VITE_PROXY = [["/api","http://222.180.200.114:48080/api"],["/thingskit-scada","http://localhost:3000/"],["/large-designer", "http://localhost:5555/large-designer/"]] | |
| 12 | -# VITE_PROXY = [["/api","http://192.168.10.112:8080/api"],["/thingskit-scada","http://localhost:3000/"],["/large-designer", "http://localhost:5555/large-designer/"]] | |
| 11 | +VITE_PROXY = [["/api","http://localhost:8080/api"],["/thingskit-scada","http://localhost:3000/"],["/large-designer", "http://localhost:5555/large-designer/"]] | |
| 13 | 12 | |
| 14 | 13 | # 实时数据的ws地址 |
| 15 | -VITE_GLOB_WEB_SOCKET = ws://222.180.200.114:48080/api/ws/plugins/telemetry?token= | |
| 16 | -# VITE_GLOB_WEB_SOCKET = ws://192.168.10.112:48080/api/ws/plugins/telemetry?token= | |
| 14 | +VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token= | |
| 17 | 15 | |
| 18 | 16 | # Delete console |
| 19 | 17 | VITE_GLOB_DROP_CONSOLE = true | ... | ... |
| ... | ... | @@ -16,11 +16,11 @@ VITE_GLOB_BUILD_COMPRESS = 'gzip' |
| 16 | 16 | VITE_GLOB_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false |
| 17 | 17 | |
| 18 | 18 | # Basic interface address SPA |
| 19 | -VITE_GLOB_API_URL=http://122.9.141.195:8080/api | |
| 19 | +VITE_GLOB_API_URL=http://localhost:8080/api | |
| 20 | 20 | |
| 21 | 21 | # File upload address, optional |
| 22 | 22 | # It can be forwarded by nginx or write the actual address directly |
| 23 | -VITE_GLOB_UPLOAD_URL=http://122.9.141.195:8080/api/yt/oss/upload | |
| 23 | +VITE_GLOB_UPLOAD_URL=http://localhost:8080/api/yt/oss/upload | |
| 24 | 24 | |
| 25 | 25 | # Interface prefix |
| 26 | 26 | VITE_GLOB_API_URL_PREFIX=/yt |
| ... | ... | @@ -35,7 +35,7 @@ VITE_USE_PWA = false |
| 35 | 35 | VITE_LEGACY = true |
| 36 | 36 | |
| 37 | 37 | # 实时数据的ws地址 |
| 38 | -VITE_GLOB_WEB_SOCKET = ws://122.9.141.195:8080/api/ws/plugins/telemetry?token= | |
| 38 | +VITE_GLOB_WEB_SOCKET = ws://localhost:8080/api/ws/plugins/telemetry?token= | |
| 39 | 39 | |
| 40 | 40 | #configuration |
| 41 | 41 | VITE_GLOB_CONFIGURATION = /thingskit-scada | ... | ... |