diff --git a/.env b/.env index f6cef28..286b0ab 100644 --- a/.env +++ b/.env @@ -15,6 +15,9 @@ REACT_APP_APPSITE="https://myfitapp.mermsemr.com" REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" +#SOCKETS ENDS +REACT_APP_PRIMARY_SOCKET="https://socket-dev.wrenchboard.com" + #"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser" REACT_APP_SESSION_EXPIRE_MINUTES=600000 diff --git a/.env.development b/.env.development index 2c56608..52ab627 100644 --- a/.env.development +++ b/.env.development @@ -15,6 +15,9 @@ REACT_APP_APPSITE="https://myfitapp.mermsemr.com" REACT_APP_AUX_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" REACT_APP_USERS_ENDPOINT="https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1" +#SOCKETS ENDS +REACT_APP_PRIMARY_SOCKET="https://socket-dev.wrenchboard.com" + #"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser" REACT_APP_SESSION_EXPIRE_MINUTES=600000 diff --git a/.env.production b/.env.production index 8edd0e7..5d5a2cc 100644 --- a/.env.production +++ b/.env.production @@ -15,6 +15,9 @@ REACT_APP_APPSITE="https://myfitapp.mermsemr.com" REACT_APP_AUX_ENDPOINT="https://apigate.orion.g1.wrenchboard.com/en/wrench/api/v1" REACT_APP_USERS_ENDPOINT="https://apigate.orion.g1.wrenchboard.com/en/wrench/api/v1" +#SOCKETS ENDS +REACT_APP_PRIMARY_SOCKET="https://socket.wrenchboard.com" + #"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser" REACT_APP_SESSION_EXPIRE_MINUTES=600000 diff --git a/package.json b/package.json index cfe39f0..4d67165 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "react-to-print": "^2.14.12", "react-toastify": "^9.0.1", "redux": "^4.2.0", + "socket.io-client": "^4.4.1", "slick-carousel": "^1.8.1", "web-vitals": "^1.0.1", "yup": "^1.1.1"