取消三项制度库代理

pull/3/head
LiuJiaNan 2024-02-27 16:02:06 +08:00
parent d50245b985
commit 939817eff8
2 changed files with 0 additions and 8 deletions

2
.env
View File

@ -1,7 +1,5 @@
VITE_BASE_URL=http://192.168.0.42:8099/
VITE_PROXY=/api/
VITE_PROXY_QAAQ=/qaaq_api/
VITE_QAAQ_URL=https://gateway.qhdsafety.com/
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/

View File

@ -66,12 +66,6 @@ export default ({ mode }) => {
ws: true,
rewrite: (path) => path.replace(/^\/api/, ""),
},
[loadEnv(mode, process.cwd()).VITE_PROXY_QAAQ]: {
target: loadEnv(mode, process.cwd()).VITE_QAAQ_URL,
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/qaaq_api/, ""),
},
},
},
resolve: {