Skip to content

Commit

Permalink
add front url to origin
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-nazari committed Mar 6, 2024
1 parent 279849b commit 2b1fbcf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ const channelQuestion: ChannelQuestionType = {};
const httpServer = createServer(app);
const socketIO = new Server(httpServer, {
cors: {
origin: "http://localhost:3000",
origin: [
"http://localhost:3000",
"https://convose-flashcard-activity.netlify.app",
"https://www.convose.com",
],
},
});

Expand Down

0 comments on commit 2b1fbcf

Please sign in to comment.