connect fix 1
This commit is contained in:
@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user