diff --git a/public/js/chat.js b/public/js/chat.js index 9648863..dcd3618 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -1278,7 +1278,7 @@ socket.on("startvideocall",function(data){ // Extract room ID from URL - window.location.href = `/${data.room}`; + window.location.href = `/videocall/${data.room}`; videocalllink=roomId; acceptroom=data.room;