This commit is contained in:
jingna 2026-01-07 13:47:35 +08:00
parent 2e990cc89e
commit 9d3ea2ec5c

View File

@ -28,7 +28,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
//线上API地址 //线上API地址
//target: 'https://edu.mmhyvision.com:8443', //target: 'https://edu.mmhyvision.com:8443',
// 本地API地址 // 本地API地址
target: 'http://192.168.1.213:8087', target: 'http://192.168.1.166:8087',
changeOrigin: true, changeOrigin: true,
rewrite: path => rewrite: path =>
path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')