fix: 更新API和WebSocket代理地址

This commit is contained in:
xudan 2025-06-24 09:44:14 +08:00
parent ea4a83daae
commit 4a36730a56
2 changed files with 1674 additions and 2 deletions

View File

@ -45,12 +45,12 @@ export default ({ mode }: Record<string, unknown>) =>
proxy: { proxy: {
'/mocks/': { target: 'http://localhost:8888/web-amr' }, '/mocks/': { target: 'http://localhost:8888/web-amr' },
'/api/': { '/api/': {
target: 'http://192.168.189.206:8080/jeecg-boot', target: 'http://192.168.189.97:8080/jeecg-boot',
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),
changeOrigin: true, changeOrigin: true,
}, },
'/ws/': { '/ws/': {
target: 'ws://192.168.189.206:8080/jeecg-boot', target: 'ws://192.168.189.97:8080/jeecg-boot',
rewrite: (path) => path.replace(/^\/ws/, ''), rewrite: (path) => path.replace(/^\/ws/, ''),
changeOrigin: true, changeOrigin: true,
ws: true, ws: true,

1672
地图互转工具.html Normal file

File diff suppressed because it is too large Load Diff