浏览代码

web: fix bosh for subdomains

Aaron van Meerten 2 年之前
父节点
当前提交
a7d2ddbf26
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      web/rootfs/defaults/system-config.js

+ 0 - 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 -}}