This commit is contained in:
duet
2023-12-25 14:25:38 +08:00
parent 97daeafbe7
commit 4445fe07be

View File

@@ -38,28 +38,28 @@ export default defineConfig({
port: 9528,
proxy: {
'/api': {
target: 'http://124.222.254.188:8887',
target: 'http://localhost:8887',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/api`), '/api'),
secure: false
},
'/customer': {
target: 'http://124.222.254.188:8090',
target: 'http://localhost:8090',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/customer`), '/customer'),
secure: false
},
'/app': {
target: 'http://124.222.254.188:8090',
target: 'http://localhost:8090',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/app`), '/app'),
secure: false
},
'/v2': {
target: 'http://124.222.254.188:8090',
target: 'http://localhost:8090',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(new RegExp(`^/v2`), '/v2'),