We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8f37a commit b13d4d1Copy full SHA for b13d4d1
frontend/src/realtimeCommunication/socketConnection.js
@@ -19,7 +19,7 @@ export const connectWithSocketServer = (userInfo) => {
19
const jwtToken = userInfo.token;
20
const connection_url =
21
process.env.ENVIRONMENT == "PRODUCTION"
22
- ? process.env.BACKEND_URL
+ ? process.env.REACT_APP_BACKEND_URL
23
: "http://localhost:4000";
24
// Update this URL with your server's local network IP
25
socket = io(
0 commit comments