Update websocket URL so proxy port can be utilized. Resolves #1421.

This commit is contained in:
Robert Bost 2017-12-12 19:29:16 -05:00
parent bafb88f2f4
commit 916246120a
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ JQuery available.
{% endif %}
{% if websocket_url %}
var wsurl = "{{websocket_url}}:{{websocket_port}}";
var wsurl = "{{websocket_url}}";
{% else %}
var wsurl = "ws://" + this.location.hostname + ":{{websocket_port}}";
{% endif %}