dsbrgtinjpbgrs

This commit is contained in:
Arthur Beck 2025-04-11 18:30:44 +00:00
parent b841e066b9
commit 218797c685

View file

@ -17,10 +17,10 @@ function log(...args) {
let wsurl = new URL(document.location.toString());
wsurl.port = 3000;
if (document.location.protocol == "http") {
wsurl.protocol = "ws";
} else {
if (document.location.protocol == "https") {
wsurl.protocol = "wss";
} else {
wsurl.protocol = "ws";
}
let conn = new WebSocket(wsurl);