diff --git a/.env b/.env index 6862a98..eb7630e 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ VITE_BASE_URL=http://192.168.0.49:8093/ -VITE_PROXY=/api/ +VITE_PROXY=/api VITE_FILE_URL=https://file.zcloudchina.com/YTHFile VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/ VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ diff --git a/.env.production b/.env.production index fdbe314..975d3d4 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ VITE_BASE_URL=http://192.168.0.31:7082/integrated_traffic/ -VITE_PROXY=/api/ +VITE_PROXY=/api VITE_FILE_URL=https://file.zcloudchina.com/YTHFile VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/ VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ diff --git a/env.d.ts b/env.d.ts index 4e8bca1..a6b6bbe 100644 --- a/env.d.ts +++ b/env.d.ts @@ -7,7 +7,7 @@ interface ImportMetaEnv { /** * undefined */ - readonly VITE_PROXY: Record + readonly VITE_PROXY: string /** * undefined */