Open rockey2020 opened 2 months ago
const app = App(); app.listen_unix((token) => { if (!token) { reject(`failed to listen on port ${sockPath}`); console.log(`WebSocket 服务器已关闭, 通信地址: ${sockPath}`); return; } console.log(`WebSocket 服务器已启动, 通信地址: ${sockPath}`); return resolve1({ webSocketServer, getLocalAddress }); }, sockPath);
After executing the code, there is no message