From 5998e9e1ee83156e583a2b4b5a73161d17ee7764 Mon Sep 17 00:00:00 2001 From: Per Qvarforth Date: Sun, 12 Jan 2025 23:32:25 +0100 Subject: [PATCH] Websocket url fix --- htdocs/public/index.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/htdocs/public/index.php b/htdocs/public/index.php index 2f741f3..1d2f4c0 100755 --- a/htdocs/public/index.php +++ b/htdocs/public/index.php @@ -150,9 +150,6 @@ } else { wsServerUrl += 'ws://' + window.location.host; } - if (window.location.port != '' && window.location.port != 0) { - wsServerUrl += ':' + window.location.port; - } wsServerUrl += '/ws'; var mapElementId = 'map-container';