Skip to content

Commit

Permalink
socket url changed
Browse files Browse the repository at this point in the history
  • Loading branch information
SwayamRana808 committed Mar 16, 2024
1 parent e3c1637 commit e02e5e4
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 }) => {

useEffect(() => {
if (authUser) {
const socket = io("http://localhost:8000", {
const socket = io("https://chat-app-yt-to2m.onrender.com/", {
query: {
userId: authUser._id,
},
Expand Down

0 comments on commit e02e5e4

Please sign in to comment.