Skip to content

Commit 2d9c3cc

Browse files
feat(web): allow comment at the top of config.js to be overridden (jitsi#1964)
1 parent 9fe5b8b commit 2d9c3cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/rootfs/defaults/system-config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{ $CONFIG_PREFIX := .Env.WEB_CONFIG_PREFIX | default "// Jitsi Meet configuration.\n" -}}
12
{{ $BOSH_RELATIVE := .Env.BOSH_RELATIVE | default "false" | toBool -}}
23
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "false" | toBool -}}
34
{{ $ENABLE_AUTH_DOMAIN := .Env.ENABLE_AUTH_DOMAIN | default "true" | toBool -}}
@@ -12,7 +13,7 @@
1213
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}}
1314
{{ $JVB_PREFER_SCTP := .Env.JVB_PREFER_SCTP | default "1" | toBool -}}
1415

15-
// Jitsi Meet configuration.
16+
{{ join "\n" (splitList "\\n" $CONFIG_PREFIX) }}
1617
var config = {};
1718

1819
config.hosts = {};

0 commit comments

Comments
 (0)