fix: use new code center
This commit is contained in:
@@ -66,12 +66,12 @@ export default defineConfig({
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/api': {
|
||||
target: 'http://localhost:4002',
|
||||
target: 'http://localhost:4005',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api'),
|
||||
},
|
||||
'/api/router': {
|
||||
target: 'ws://localhost:4002',
|
||||
target: 'ws://localhost:4005',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
rewriteWsOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user