fix: use new code center

This commit is contained in:
2025-02-18 17:48:09 +08:00
parent 06279b1be1
commit d309579195
2 changed files with 3 additions and 3 deletions

View File

@@ -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,