web: add support for brandingDataUrl (#1346)

Closes: #1345
This commit is contained in:
Debendra Oli
2022-07-19 13:46:01 +05:45
committed by GitHub
parent 4372717dc3
commit 1c93e1b74d
2 changed files with 5 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ services:
- ANALYTICS_SCRIPT_URLS
- ANALYTICS_WHITELISTED_EVENTS
- AUDIO_QUALITY_OPUS_BITRATE
- BRANDING_DATA_URL
- CALLSTATS_CUSTOM_SCRIPT_URL
- CALLSTATS_ID
- CALLSTATS_SECRET

View File

@@ -326,6 +326,8 @@ config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
{{ if .Env.DYNAMIC_BRANDING_URL -}}
// External API url used to receive branding specific information.
config.dynamicBrandingUrl = '{{ .Env.DYNAMIC_BRANDING_URL }}';
{{ else if .Env.BRANDING_DATA_URL -}}
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
{{ end -}}
{{ if .Env.TOKEN_AUTH_URL -}}