This commit is contained in:
2026-02-24 08:03:58 +01:00
parent 5303cdaa2f
commit 97558e1982
3 changed files with 9 additions and 8 deletions

View File

@@ -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');