diff --git a/backend/src/socket/socket.ts b/backend/src/socket/socket.ts index b3c951c7..cb391094 100644 --- a/backend/src/socket/socket.ts +++ b/backend/src/socket/socket.ts @@ -35,7 +35,7 @@ class Socket { async init(server: Server, redis: RedisClient) { try { const io = new socketIO.Server(server, { - transports: ['websocket', 'polling'], //transports used by the websocket + transports: ['websocket', 'polling'], cors: { origin: process.env.CKBOARD_SERVER_ADDRESS || 'http://localhost:4200', // Specific origin or localhost methods: ['GET', 'POST'],