Skip to content

Commit

Permalink
socket io url added
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Oct 11, 2024
1 parent a6af37e commit 31f20e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/lib/socket.io/connectSocketIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 31f20e4

Please sign in to comment.