This commit is contained in:
Arthur Beck 2025-04-11 18:21:59 +00:00
parent 23286d59ef
commit 9c3a2cc883

View file

@ -15,7 +15,8 @@ function log(...args) {
document.getElementById("chat-body").appendChild(newMsg);
}
let wsurl = "wss://super-duper-spoon-qx5qvj5654536w97-3000.app.github.dev:3000";
let wsurl = new URL(document.location.toString());
wsurl.port = 300;
let conn = new WebSocket(wsurl);
conn.onmessage = (ev) => {