修改
This commit is contained in:
parent
2e990cc89e
commit
9d3ea2ec5c
@ -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), '')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user