Skip to content

Commit

Permalink
Update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
markiianbabiak committed Oct 24, 2024
1 parent 821ff5c commit 851ea4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
/.vscode/launch.json
.DS_Store
dump.rdb
/backend/secrets
2 changes: 1 addition & 1 deletion backend/src/socket/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Socket {
async init(server: Server, redis: RedisClient) {
try {
const io = new socketIO.Server(server, {
transports: ['websocket', 'polling'],
transports: ['websocket', 'polling'], //transports used by the websocket
cors: {
origin: process.env.CKBOARD_SERVER_ADDRESS || 'http://localhost:4200', // Specific origin or localhost
methods: ['GET', 'POST'],
Expand Down

0 comments on commit 851ea4c

Please sign in to comment.