Websocket url fix
This commit is contained in:
parent
ef97d81a7f
commit
5998e9e1ee
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue