地图定位搜索问题修复

This commit is contained in:
zxy
2024-02-05 10:16:08 +08:00
parent 91172a730c
commit b3a378355f
4 changed files with 16 additions and 6 deletions

View File

@@ -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': '/'
}
}
}
}
};