web: configure brandingDataUrl with env variables

This commit is contained in:
Ludovic Muller
2020-10-08 10:13:44 +02:00
committed by GitHub
parent a404653197
commit 087f024fcb
2 changed files with 6 additions and 0 deletions

View File

@@ -252,6 +252,11 @@ config.useStunTurn = {{ $USE_STUN_TURN }};
// Transcriptions (subtitles and buttons can be configured in interface_config)
config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
{{ if .Env.BRANDING_DATA_URL -}}
// External API url used to receive branding specific information.
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
{{ end -}}
// Deployment information.
//