地图定位搜索问题修复
This commit is contained in:
@@ -22,12 +22,20 @@ module.exports = {
|
||||
proxy: {
|
||||
'/api': {
|
||||
//本地服务接口地址
|
||||
target: 'http://localhost:8000',
|
||||
target: 'http://39.98.184.58:8000',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/api': '/'
|
||||
}
|
||||
}
|
||||
},
|
||||
'/qq/map': {
|
||||
//本地服务接口地址
|
||||
target: 'https://apis.map.qq.com',
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
'^/qq/map': '/'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user