Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
Bit-Barron committed Nov 2, 2024
1 parent 7edacd5 commit 1374b9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const initSocket = (userId: string): Socket | null => {
reconnectionAttempts: 5,
path: '/socket.io' // Muss mit Server-Path übereinstimmen
});


socket.on('connect', () => {
console.log('Connected to socket server');
Expand Down

0 comments on commit 1374b9b

Please sign in to comment.