From e4396500a76c475cffde519f3d6f1e65b6b35ce1 Mon Sep 17 00:00:00 2001 From: pedro Date: Sun, 23 May 2021 18:31:08 +0200 Subject: [PATCH] [__jitsi_meet_domain] fixes #6 welcome logo the approach is to include a new template for the interface_config.js which will allow to add other customizations to come --- .../files/interface_config.js.sh | 305 ++++++++++++++++++ .../files/interface_config.js.sh.orig | 292 +++++++++++++++++ type/__jitsi_meet_domain/files/nginx.sh | 4 + type/__jitsi_meet_domain/manifest | 8 + 4 files changed, 609 insertions(+) create mode 100644 type/__jitsi_meet_domain/files/interface_config.js.sh create mode 100644 type/__jitsi_meet_domain/files/interface_config.js.sh.orig diff --git a/type/__jitsi_meet_domain/files/interface_config.js.sh b/type/__jitsi_meet_domain/files/interface_config.js.sh new file mode 100644 index 0000000..deede48 --- /dev/null +++ b/type/__jitsi_meet_domain/files/interface_config.js.sh @@ -0,0 +1,305 @@ +#!/bin/sh -e + +# default jitsi logo in svg +BRANDING_WATERMARK_PATH='images/watermark.svg' +# overrides default jitsi logo with the provided custom png logo +if [ -n "${BRANDING_WATERMARK}" ]; then + BRANDING_WATERMARK_PATH='images/watermark.png' +fi + +# shellcheck disable=SC2034 # This is intended to be included +JITSI_INTERFACE_CONFIG_JS="$(cat <