connect fix 1

This commit is contained in:
2026-08-20 20:07:36 +02:00
parent cd5957cbd2
commit 74bff2e754
6 changed files with 69 additions and 33 deletions

View File

@ -1217,7 +1217,7 @@
return;
}
const proto = window.location.protocol === "https:" ? "wss:" : "ws:";
logSocket = new WebSocket(`${proto}//${window.location.host}/admin/ws/logs`);
logSocket = new WebSocket(`${proto}//${window.location.host}/ws/logs`);
setConnLogStatus("verbinde...");
logSocket.addEventListener("open", () => setConnLogStatus("verbunden"));
logSocket.addEventListener("close", () => setConnLogStatus("getrennt"));