add option to use collabora server

This commit is contained in:
makaveli10
2023-07-13 00:59:48 +05:30
parent 7accea1fdf
commit a634a6d6d3
10 changed files with 109 additions and 13 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ async function startRecord(option) {
window.close();
};
const socket = new WebSocket("ws://localhost:9090/");
const socket = new WebSocket(`ws://${option.host}:${option.port}/`);
let isServerReady = false;
socket.onopen = function(e) {
socket.send("handshake");