[__jitsi_meet_domain] Support passing the branded index in stdin

This commit is contained in:
evilham 2021-05-10 12:54:59 +02:00
parent 9de330a945
commit ccd3f364e4
2 changed files with 5 additions and 0 deletions

View file

@ -86,6 +86,7 @@ branding-index
Path to an HTML file that will be served instead of Jitsi-Meet's default
one.
If not set, the default index file will be used.
If set to `-`, the type's standard input will be used.
branding-watermark

View file

@ -22,6 +22,10 @@ BRANDING_INDEX="$(cat "${__object}/parameter/branding-index")"
BRANDING_JSON="$(cat "${__object}/parameter/branding-json")"
BRANDING_WATERMARK="$(cat "${__object}/parameter/branding-watermark")"
if [ "${BRANDING_INDEX}" = "-" ]; then
BRANDING_INDEX="${__object}/stdin"
fi
if [ -f "${__object}/parameter/enable-third-party-requests" ]; then
ENABLE_THIRD_PARTY_REQUESTS="YES"
fi