调整接口走代理
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = {
|
||||
https: false,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1:7100',
|
||||
target: 'https://ecotest.happyinsurance.com.cn:4443/api',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user