Skip to content

Commit

Permalink
socket url update for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
burakorkmez committed Mar 8, 2024
1 parent 06f6add commit 5511331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/context/SocketContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const SocketContextProvider = ({ children }) => {
const user = useRecoilValue(userAtom);

useEffect(() => {
const socket = io("http://localhost:5000", {
const socket = io("/", {
query: {
userId: user?._id,
},
Expand Down

0 comments on commit 5511331

Please sign in to comment.