web: fix bosh for subdomains

pull/1516/head
Aaron van Meerten 2 years ago committed by Saúl Ibarra Corretgé
parent 2fdc643e7c
commit 3af59c6d84
  1. 4
      web/rootfs/defaults/system-config.js

@ -41,11 +41,7 @@ config.hosts.anonymousdomain = '{{ $XMPP_GUEST_DOMAIN }}';
config.hosts.authdomain = '{{ $XMPP_DOMAIN }}';
{{ end -}}
{{ if $ENABLE_SUBDOMAINS -}}
config.bosh = '/' + subdir + 'http-bind';
{{ else -}}
config.bosh = '/http-bind';
{{ end -}}
{{ if $ENABLE_XMPP_WEBSOCKET -}}
{{ if $ENABLE_SUBDOMAINS -}}

Loading…
Cancel
Save