websocket keepalive

web-add-config-options
Aaron van Meerten 2 years ago
parent fd53867d74
commit 55078b62f4
  1. 1
      docker-compose.yml
  2. 3
      web/rootfs/defaults/system-config.js

@ -143,6 +143,7 @@ services:
- VIDEOQUALITY_BITRATE_VP9_HIGH
- VIDEOQUALITY_ENFORCE_PREFERRED_CODEC
- VIDEOQUALITY_PREFERRED_CODEC
- WEBSOCKET_KEEPALIVE_URL
- XMPP_AUTH_DOMAIN
- XMPP_BOSH_URL_BASE
- XMPP_DOMAIN

@ -53,6 +53,9 @@ config.websocket = 'wss://{{ $PUBLIC_URL_DOMAIN }}/' + subdir + 'xmpp-websocket'
{{ else -}}
config.websocket = 'wss://{{ $PUBLIC_URL_DOMAIN }}/xmpp-websocket';
{{ end -}}
{{ if .Env.WEBSOCKET_KEEPALIVE_URL -}}
config.websocketKeepAliveUrl = '{{ .Env.WEBSOCKET_KEEPALIVE_URL }}';
{{ end -}}
{{ end -}}
{{ if $CONFIG_EXTERNAL_CONNECT -}}

Loading…
Cancel
Save