We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02d4498 commit 01c60d9Copy full SHA for 01c60d9
1 file changed
src/ws/index.js
@@ -4,6 +4,8 @@ import { jwtVerify } from 'jose';
4
const ws = new WebSocketServer({ port: 8080 });
5
const secret = new TextEncoder().encode(process.env.JWT_SECRET);
6
7
+console.log('Sarge WS server listening on 8080');
8
+
9
// <userId, socket>
10
const clients = new Map();
11
0 commit comments