feat: 更新 RemoteApp 类以支持 token 和 app ID,增强 WebSocket URL 生成逻辑;添加 ws-app 测试文件

This commit is contained in:
2025-12-20 23:20:41 +08:00
parent bafe51f140
commit 864766be4a
4 changed files with 53 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import http from 'http';
import http from 'node:http';
export const error = (msg: string, code = 500) => {
return JSON.stringify({ code, message: msg });
};