Skip to content

Commit 01c60d9

Browse files
committed
add console log
1 parent 02d4498 commit 01c60d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ws/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { jwtVerify } from 'jose';
44
const ws = new WebSocketServer({ port: 8080 });
55
const secret = new TextEncoder().encode(process.env.JWT_SECRET);
66

7+
console.log('Sarge WS server listening on 8080');
8+
79
// <userId, socket>
810
const clients = new Map();
911

0 commit comments

Comments
 (0)