|
@ -22,7 +22,7 @@ export default defineApplicationConfig({ |
|
|
hmr: true, |
|
|
hmr: true, |
|
|
proxy: { |
|
|
proxy: { |
|
|
'/guoyan': { |
|
|
'/guoyan': { |
|
|
target: 'http://10.1.21.250:18081', |
|
|
target: 'http://localhost:8080/', |
|
|
changeOrigin: true, |
|
|
changeOrigin: true, |
|
|
ws: true, |
|
|
ws: true, |
|
|
rewrite: (path) => path.replace(new RegExp(`^/guoyan`), ''), |
|
|
rewrite: (path) => path.replace(new RegExp(`^/guoyan`), ''), |
|
@ -30,7 +30,7 @@ export default defineApplicationConfig({ |
|
|
// secure: false
|
|
|
// secure: false
|
|
|
}, |
|
|
}, |
|
|
'/upload': { |
|
|
'/upload': { |
|
|
target: 'http://10.1.21.250:18081:3300/upload', |
|
|
target: 'http://localhost:3300/upload', |
|
|
changeOrigin: true, |
|
|
changeOrigin: true, |
|
|
ws: true, |
|
|
ws: true, |
|
|
rewrite: (path) => path.replace(new RegExp(`^/upload`), ''), |
|
|
rewrite: (path) => path.replace(new RegExp(`^/upload`), ''), |
|
|