Skip to content

Commit

Permalink
fix:socket fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rithick574 committed Jul 10, 2024
1 parent 0739e11 commit bf03153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat-service/src/infrastructure/socket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { messageSeen, setLastSeen,saveNotification } from "../database/mongoDB/r
const connectSocketIo = (server: Server) => {
const io = new IOServer(server, {
cors: {
origin: ["http://localhost:5173"],
origin: ["https://learnwise-client.vercel.app"],
methods: ["GET", "POST"],
credentials: true,
},
Expand Down

0 comments on commit bf03153

Please sign in to comment.