Explorar o código

jvb: fix check for JVB_TCP_HARVESTER_DISABLED

Fixes: https://github.com/jitsi/docker-jitsi-meet/issues/885
Saúl Ibarra Corretgé %!s(int64=4) %!d(string=hai) anos
pai
achega
ada7b952e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jvb/rootfs/defaults/jvb.conf

+ 1 - 1
jvb/rootfs/defaults/jvb.conf

@@ -10,7 +10,7 @@ videobridge {
             port = {{ .Env.JVB_PORT }}
         }
         tcp {
-            enabled = {{ not .Env.JVB_TCP_HARVESTER_DISABLED }}
+            enabled = {{ not (.Env.JVB_TCP_HARVESTER_DISABLED | default "true" | toBool) }}
             port = {{ .Env.JVB_TCP_PORT }}
 {{ if not (eq $JVB_TCP_PORT $JVB_TCP_MAPPED_PORT) }}
             mapped-port = {{ $JVB_TCP_MAPPED_PORT }}