Parcourir la source

fix(web): enable hidden domain when transcriptions or recordings are enabled (#1891)

Aaron van Meerten il y a 8 mois
Parent
commit
1889c5d
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      web/rootfs/defaults/settings-config.js

+ 4 - 1
web/rootfs/defaults/settings-config.js

@@ -149,9 +149,12 @@ config.etherpad_base = '{{ $PUBLIC_URL }}/etherpad/p/';
 // Recording.
 //
 
-{{ if $ENABLE_RECORDING  -}}
+{{ if or $ENABLE_RECORDING $ENABLE_TRANSCRIPTIONS  -}}
 
 config.hiddenDomain = '{{ $XMPP_RECORDER_DOMAIN }}';
+{{ end -}}
+
+{{ if $ENABLE_RECORDING -}}
 
 config.recordingService = {
     // Whether to enable file recording or not using the "service" defined by the finalizer in Jibri