This commit is contained in:
2025-04-20 18:46:48 +08:00
parent e66f7ce00e
commit a696bc3bbe
34 changed files with 9681 additions and 328 deletions

View File

@@ -82,6 +82,13 @@ export default defineConfig({
rewriteWsOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/api'),
},
'/token': {
target: 'http://127.0.0.1:9527',
changeOrigin: true,
ws: true,
rewriteWsOrigin: true,
rewrite: (path) => path.replace(/^\/token/, '/token'),
},
'/api/router': {
target: 'ws://localhost:3000',
changeOrigin: true,