diff --git a/html/logic.js b/html/logic.js index e9518cd..5af9558 100644 --- a/html/logic.js +++ b/html/logic.js @@ -80,8 +80,8 @@ function connect() { console.log() if (location.protocol == "https:") { - console.log(`Connecting wss://${serverAddress}:${serverPort}`) - socket = new WebSocket(`wss://${serverAddress}:${serverPort}`) + console.log(`Connecting wss://${serverAddress}:443`) + socket = new WebSocket(`wss://${serverAddress}:443`) } else { console.log(`Connecting ws://${serverAddress}:${serverPort}`)