离线地图修改

This commit is contained in:
仲么了
2024-02-28 09:42:07 +08:00
parent 374971c828
commit 38a4183276
6 changed files with 76 additions and 12 deletions

View File

@@ -14,6 +14,10 @@ export default defineConfig({
target: 'http://192.168.1.81:10215', //数据中心
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''
},
'/map': {
target: 'http://192.168.1.81:8088', //数据中心
changeOrigin: true,
}
}
},