|
@@ -21,8 +21,8 @@ export default defineConfig({
|
|
|
proxy: {
|
|
|
'/api/': {
|
|
|
// target: 'http://localhost:8080/',
|
|
|
- target: 'http://127.0.0.1:3001/',
|
|
|
- // target: 'http://10.110.35.47/',
|
|
|
+ // target: 'http://127.0.0.1:3001/',
|
|
|
+ target: 'http://10.110.35.47/',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => {
|
|
|
return path.replace(/^\/api/, '')
|
|
@@ -30,13 +30,40 @@ export default defineConfig({
|
|
|
},
|
|
|
'/api-gateway/': {
|
|
|
// target: 'http://localhost:8080/',
|
|
|
- target: 'http://127.0.0.1:3002/',
|
|
|
- // target: 'http://10.110.32.62/',
|
|
|
+ // target: 'http://127.0.0.1:3002/',
|
|
|
+ target: 'http://10.110.32.62/',
|
|
|
changeOrigin: true,
|
|
|
rewrite: path => {
|
|
|
return path.replace(/^\/api-gateway/, '')
|
|
|
}
|
|
|
},
|
|
|
+ '/api-wazx/': {
|
|
|
+ // target: 'http://localhost:8080/',
|
|
|
+ // target: 'http://127.0.0.1:3002/',
|
|
|
+ target: 'http://10.110.49.2:8090/api-wazx/',
|
|
|
+ changeOrigin: true,
|
|
|
+ rewrite: path => {
|
|
|
+ return path.replace(/^\/api-wazx/, '')
|
|
|
+ }
|
|
|
+ },
|
|
|
+ '/api-csb/': {
|
|
|
+ // target: 'http://localhost:8080/',
|
|
|
+ // target: 'http://127.0.0.1:3002/',
|
|
|
+ target: 'http://10.110.49.2:8090/api-csb/',
|
|
|
+ changeOrigin: true,
|
|
|
+ rewrite: path => {
|
|
|
+ return path.replace(/^\/api-csb/, '')
|
|
|
+ }
|
|
|
+ },
|
|
|
+ '/api-screen/': {
|
|
|
+ // target: 'http://localhost:8080/',
|
|
|
+ // target: 'http://127.0.0.1:3002/',
|
|
|
+ target: 'http://10.110.49.2:8090/api-screen/',
|
|
|
+ changeOrigin: true,
|
|
|
+ rewrite: path => {
|
|
|
+ return path.replace(/^\/api-screen/, '')
|
|
|
+ }
|
|
|
+ },
|
|
|
'/api-tes/': {
|
|
|
// target: 'http://localhost:8080/',
|
|
|
target: 'http://10.110.31.81/odae-video/',
|