Skip to content

Commit

Permalink
Enable cors
Browse files Browse the repository at this point in the history
  • Loading branch information
pravinba9495 committed Jun 26, 2021
1 parent 9b59375 commit 39baa19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const io = require("socket.io")(server, {
pingInterval: 10000,
pingTimeout: 5000,
cookie: false,
origins: ["http://127.0.0.1:4200", "https://iborg.ai"]
});
const net = require("net");
server.listen(process.env.PORT || '8080');
Expand Down

0 comments on commit 39baa19

Please sign in to comment.