Prechádzať zdrojové kódy

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

Aaron van Meerten 8 mesiacov pred
rodič
commit
1889c5d561
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  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