aaa
This commit is contained in:
parent
23286d59ef
commit
9c3a2cc883
1 changed files with 2 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue