diff --git a/client/lib/socket.io/connectSocketIO.ts b/client/lib/socket.io/connectSocketIO.ts index c130590e..f7400efd 100644 --- a/client/lib/socket.io/connectSocketIO.ts +++ b/client/lib/socket.io/connectSocketIO.ts @@ -17,7 +17,7 @@ const connectSocketIO = ({ role, namespace }: Props) => { const token = role === 'doctor' ? auth.doctorToken : auth.patientToken; - const socket = io(`${apiUrls.BASE_URL}/${namespace}`, { + const socket = io(`https://api.avm-ayurvedic.online/${namespace}`, { auth: { token: token, },