Showing
2 changed files
with
4 additions
and
4 deletions
... | ... | @@ -8,10 +8,10 @@ VITE_PUBLIC_PATH = / |
8 | 8 | # Please note that no line breaks |
9 | 9 | |
10 | 10 | # 本地 |
11 | -# VITE_PROXY = [["/api","http://192.168.10.123:8080/api"],["/upload","http://192.168.10.124:3300/upload"]] | |
11 | +VITE_PROXY = [["/api","http://localhost:8080/api"]] | |
12 | 12 | |
13 | 13 | # 线上 |
14 | -VITE_PROXY = [["/api","http://101.133.234.90:8080/api"],["/upload","http://192.168.10.116:3300/upload"]] | |
14 | +#VITE_PROXY = [["/api","http://101.133.234.90:8080/api"]] | |
15 | 15 | |
16 | 16 | # 实时数据的ws地址 |
17 | 17 | VITE_WEB_SOCKET = ws://101.133.234.90:8080/api/ws/plugins/telemetry?token= | ... | ... |
... | ... | @@ -16,11 +16,11 @@ VITE_BUILD_COMPRESS = 'gzip' |
16 | 16 | VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false |
17 | 17 | |
18 | 18 | # Basic interface address SPA |
19 | -VITE_GLOB_API_URL=http://101.133.234.90: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://101.133.234.90:3300/upload | |
23 | +VITE_GLOB_UPLOAD_URL=http://localhost:8080/upload | |
24 | 24 | |
25 | 25 | # Interface prefix |
26 | 26 | VITE_GLOB_API_URL_PREFIX=/yt | ... | ... |