support api proxy for amap

This commit is contained in:
MaysWind
2023-06-18 09:38:21 +08:00
parent 4f2b9d39da
commit fa68621b41
21 changed files with 289 additions and 94 deletions
+4
View File
@@ -139,6 +139,10 @@ export default defineConfig(async () => {
'/proxy': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
},
'/_AMapService': {
target: 'http://127.0.0.1:8080/',
changeOrigin: true
}
}
},