环境变量

dev
LiuJiaNan 2024-04-12 11:08:15 +08:00
parent f2e8d02867
commit 9b8ad27e57
3 changed files with 3 additions and 3 deletions

2
.env
View File

@ -1,5 +1,5 @@
VITE_BASE_URL=http://192.168.0.49:8093/ VITE_BASE_URL=http://192.168.0.49:8093/
VITE_PROXY=/api/ VITE_PROXY=/api
VITE_FILE_URL=https://file.zcloudchina.com/YTHFile VITE_FILE_URL=https://file.zcloudchina.com/YTHFile
VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/ VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/

View File

@ -1,5 +1,5 @@
VITE_BASE_URL=http://192.168.0.31:7082/integrated_traffic/ 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_FILE_URL=https://file.zcloudchina.com/YTHFile
VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/ VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/
VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/ VITE_ON_LINE_WEB_SOCKET_URL=wss://qaaq.qhdsafety.com/zxwebsocket/

2
env.d.ts vendored
View File

@ -7,7 +7,7 @@ interface ImportMetaEnv {
/** /**
* undefined * undefined
*/ */
readonly VITE_PROXY: Record<string, any> readonly VITE_PROXY: string
/** /**
* undefined * undefined
*/ */