feat: 更新依赖项版本,增强代理请求处理逻辑,调整 WebSocket 路由和 API 代理配置

This commit is contained in:
2025-12-21 06:40:16 +08:00
parent 8007315c66
commit f12fea7246
8 changed files with 49 additions and 47 deletions

View File

@@ -39,8 +39,8 @@ export const runServer = async (port: number = 51015, listenPath = '127.0.0.1')
});
}
app.server.on([{
id: 'all',
func: proxyRoute as any
id: 'handle-all',
func: proxyRoute as any,
},
...proxyWs()
]);