Update websocket URL so proxy port can be utilized. Resolves #1421.
This commit is contained in:
parent
bafb88f2f4
commit
916246120a
2 changed files with 4 additions and 4 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue