123
This commit is contained in:
@@ -38,28 +38,28 @@ export default defineConfig({
|
|||||||
port: 9528,
|
port: 9528,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://124.222.254.188:8887',
|
target: 'http://localhost:8887',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
rewrite: (path) => path.replace(new RegExp(`^/api`), '/api'),
|
rewrite: (path) => path.replace(new RegExp(`^/api`), '/api'),
|
||||||
secure: false
|
secure: false
|
||||||
},
|
},
|
||||||
'/customer': {
|
'/customer': {
|
||||||
target: 'http://124.222.254.188:8090',
|
target: 'http://localhost:8090',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
rewrite: (path) => path.replace(new RegExp(`^/customer`), '/customer'),
|
rewrite: (path) => path.replace(new RegExp(`^/customer`), '/customer'),
|
||||||
secure: false
|
secure: false
|
||||||
},
|
},
|
||||||
'/app': {
|
'/app': {
|
||||||
target: 'http://124.222.254.188:8090',
|
target: 'http://localhost:8090',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
rewrite: (path) => path.replace(new RegExp(`^/app`), '/app'),
|
rewrite: (path) => path.replace(new RegExp(`^/app`), '/app'),
|
||||||
secure: false
|
secure: false
|
||||||
},
|
},
|
||||||
'/v2': {
|
'/v2': {
|
||||||
target: 'http://124.222.254.188:8090',
|
target: 'http://localhost:8090',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
rewrite: (path) => path.replace(new RegExp(`^/v2`), '/v2'),
|
rewrite: (path) => path.replace(new RegExp(`^/v2`), '/v2'),
|
||||||
|
|||||||
Reference in New Issue
Block a user