From 31f20e4d34c4f6ab4d3af7704ce379f5c10cd2d2 Mon Sep 17 00:00:00 2001 From: Sinan Date: Fri, 11 Oct 2024 16:58:31 +0530 Subject: [PATCH] socket io url added --- client/lib/socket.io/connectSocketIO.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, },