Skip to content

Commit

Permalink
deployment added
Browse files Browse the repository at this point in the history
  • Loading branch information
priyam-03 committed Aug 13, 2024
1 parent b13d4d1 commit 49a7d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/realtimeCommunication/socketConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let socket = null;
export const connectWithSocketServer = (userInfo) => {
const jwtToken = userInfo.token;
const connection_url =
process.env.ENVIRONMENT == "PRODUCTION"
process.env.REACT_APP_ENVIRONMENT == "PRODUCTION"
? process.env.REACT_APP_BACKEND_URL
: "http://localhost:4000";
// Update this URL with your server's local network IP
Expand Down

0 comments on commit 49a7d8c

Please sign in to comment.