Websocket url fix

This commit is contained in:
Per Qvarforth 2025-01-12 23:32:25 +01:00
parent ef97d81a7f
commit 5998e9e1ee
1 changed files with 0 additions and 3 deletions

View File

@ -150,9 +150,6 @@
} else { } else {
wsServerUrl += 'ws://' + window.location.host; wsServerUrl += 'ws://' + window.location.host;
} }
if (window.location.port != '' && window.location.port != 0) {
wsServerUrl += ':' + window.location.port;
}
wsServerUrl += '/ws'; wsServerUrl += '/ws';
<?php endif; ?> <?php endif; ?>
var mapElementId = 'map-container'; var mapElementId = 'map-container';