feat(web): allow comment at the top of config.js to be overridden (#1964)

pull/1966/head
Aaron van Meerten 1 week ago committed by GitHub
parent 9fe5b8b651
commit 2d9c3cc824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      web/rootfs/defaults/system-config.js

@ -1,3 +1,4 @@
{{ $CONFIG_PREFIX := .Env.WEB_CONFIG_PREFIX | default "// Jitsi Meet configuration.\n" -}}
{{ $BOSH_RELATIVE := .Env.BOSH_RELATIVE | default "false" | toBool -}} {{ $BOSH_RELATIVE := .Env.BOSH_RELATIVE | default "false" | toBool -}}
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "false" | toBool -}} {{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "false" | toBool -}}
{{ $ENABLE_AUTH_DOMAIN := .Env.ENABLE_AUTH_DOMAIN | default "true" | toBool -}} {{ $ENABLE_AUTH_DOMAIN := .Env.ENABLE_AUTH_DOMAIN | default "true" | toBool -}}
@ -12,7 +13,7 @@
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}} {{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}}
{{ $JVB_PREFER_SCTP := .Env.JVB_PREFER_SCTP | default "1" | toBool -}} {{ $JVB_PREFER_SCTP := .Env.JVB_PREFER_SCTP | default "1" | toBool -}}
// Jitsi Meet configuration. {{ join "\n" (splitList "\\n" $CONFIG_PREFIX) }}
var config = {}; var config = {};
config.hosts = {}; config.hosts = {};

Loading…
Cancel
Save