g
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const socket = io();
|
||||
const basePath = window.location.pathname.replace(/\/[^\/]+\.[^\/]+$/, '').replace(/\/$/, '');
|
||||
const socket = io({ path: basePath + '/socket.io' });
|
||||
const remoteVideo = document.getElementById('remoteVideo');
|
||||
const overlay = document.getElementById('overlay');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user