|
@@ -57,11 +57,9 @@ export default defineConfig({
|
|
|
changeOrigin: true,
|
|
|
rewrite: (path) => {
|
|
|
return path.replace(/^\/sww-api/, '')
|
|
|
- // return path
|
|
|
}
|
|
|
},
|
|
|
'/ws-api': {
|
|
|
- // target: 'ws://8.130.72.63:18073/',
|
|
|
target: 'ws://192.168.242.21:9099/',
|
|
|
ws: true,
|
|
|
changeOrigin: true,
|
|
@@ -83,16 +81,8 @@ export default defineConfig({
|
|
|
return path.replace(/^\/geoserver-api/, '')
|
|
|
}
|
|
|
},
|
|
|
- '/rh-ws-api': {
|
|
|
- target: 'http://74.10.28.28:6990/', // fk
|
|
|
- ws: true,
|
|
|
- changeOrigin: true,
|
|
|
- rewrite: path => {
|
|
|
- return path.replace(/^\/rh-ws-api/, '')
|
|
|
- }
|
|
|
- },
|
|
|
'/history-track-ws-api': {
|
|
|
- target: 'http://74.10.28.24:9999/', // fk
|
|
|
+ target: 'ws://192.168.242.21:9099/', // fk
|
|
|
ws: true,
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => {
|