Skip to content

Commit

Permalink
Changed cors options to fix deployment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sampy147 committed Nov 17, 2023
1 parent 82a6ab0 commit 683d353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chat-service/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const server = http.createServer(app);

const io = new Server(server, {
cors: {
origin: "http://localhost:8080",
origin: "*",
methods: ["GET", "POST"],
},
});
Expand Down

0 comments on commit 683d353

Please sign in to comment.