ewgw
This commit is contained in:
@@ -75,15 +75,15 @@ const config = {
|
|||||||
devServer: {
|
devServer: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/': {
|
'/api/': {
|
||||||
target: JSON.parse('"http://localhost:28369"'), //本地调试端口
|
// target: JSON.parse('"http://localhost:28369"'), //本地调试端口
|
||||||
// target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
|
target: JSON.parse('"https://kunpeng.hackrobot.cn"'),
|
||||||
|
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/api/': '/'
|
'^/api/': '/'
|
||||||
},
|
},
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
disableHostCheck: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user