From 9b8ad27e57e500de5ae9115cb29751868ef861e4 Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Fri, 12 Apr 2024 11:08:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .env.production | 2 +- env.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 */