web: fix bosh for subdomains

pull/1512/head
Aaron van Meerten 2 years ago
parent 2fdc643e7c
commit a7d2ddbf26
  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