Skip to content

Commit

Permalink
fix: Fixed error on cors Socket.IO
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Apr 14, 2023
1 parent 122f9ca commit 8277c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -90,7 +90,7 @@ export function initServer(serverOptions: any) {
const http = createServer(app);
const io = new Socket(http, {
cors: {
origin: ['*'],
origin: '*',
},
});

Expand Down

0 comments on commit 8277c14

Please sign in to comment.