Skip to content

Commit 087f024

Browse files
authored
web: configure brandingDataUrl with env variables
1 parent a404653 commit 087f024

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- ANALYTICS_SCRIPT_URLS
2525
- ANALYTICS_WHITELISTED_EVENTS
2626
- BRIDGE_CHANNEL
27+
- BRANDING_DATA_URL
2728
- CALLSTATS_CUSTOM_SCRIPT_URL
2829
- CALLSTATS_ID
2930
- CALLSTATS_SECRET

web/rootfs/defaults/settings-config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@ config.useStunTurn = {{ $USE_STUN_TURN }};
252252
// Transcriptions (subtitles and buttons can be configured in interface_config)
253253
config.transcribingEnabled = {{ $ENABLE_TRANSCRIPTIONS }};
254254

255+
{{ if .Env.BRANDING_DATA_URL -}}
256+
// External API url used to receive branding specific information.
257+
config.brandingDataUrl = '{{ .Env.BRANDING_DATA_URL }}';
258+
{{ end -}}
259+
255260

256261
// Deployment information.
257262
//

0 commit comments

Comments
 (0)