Skip to content

Commit

Permalink
feat(web): allow comment at the top of config.js to be overridden (ji…
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkvanmeerten authored Nov 13, 2024
1 parent ebb8d5a commit cc4146b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/rootfs/defaults/system-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ $CONFIG_PREFIX := .Env.WEB_CONFIG_PREFIX | default "// Jitsi Meet configuration.\n" -}}
{{ $BOSH_RELATIVE := .Env.BOSH_RELATIVE | default "false" | toBool -}}
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "false" | toBool -}}
{{ $ENABLE_AUTH_DOMAIN := .Env.ENABLE_AUTH_DOMAIN | default "true" | toBool -}}
Expand All @@ -12,7 +13,7 @@
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}}
{{ $JVB_PREFER_SCTP := .Env.JVB_PREFER_SCTP | default "1" | toBool -}}

// Jitsi Meet configuration.
{{ join "\n" (splitList "\\n" $CONFIG_PREFIX) }}
var config = {};

config.hosts = {};
Expand Down

0 comments on commit cc4146b

Please sign in to comment.