This commit is contained in:
2025-12-29 01:34:19 +08:00
parent 91409861b9
commit 9f580a7709
4 changed files with 9 additions and 11 deletions

View File

@@ -8,8 +8,8 @@ const testRouter = () => {
// const ws = new WebSocket('ws://118.196.32.29:3005/api/router');
// const ws = new WebSocket('wss://kevisual.cn/api/router');
// const ws = new WebSocket('ws://localhost:51015/api/ws/demo?id=12345');
const ws = new WebSocket('ws://localhost:51015/api/router?id=12345');
// const ws = new WebSocket('ws://localhost:51515/api/ws/demo?id=12345');
const ws = new WebSocket('ws://localhost:51515/api/router?id=12345');
console.log('Connecting to WebSocket server...');
ws.on('open', () => {
console.log('WebSocket connection opened');