We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c6b66 commit 40ae773Copy full SHA for 40ae773
frontend/src/context/SocketContext.jsx
@@ -15,7 +15,7 @@ export const SocketContextProvider = ({ children }) => {
15
16
useEffect(() => {
17
if (authUser) {
18
- const socket = io("http://localhost:5000", {
+ const socket = io("https://chatz-nnea.onrender.com", {
19
query: {
20
userId: authUser._id,
21
},
0 commit comments