From 60c4641c570ef14de2647dbb6066c9c5e10dc59a Mon Sep 17 00:00:00 2001 From: Ark74 Date: Mon, 20 Jan 2025 02:36:44 -0600 Subject: [PATCH] remove possible duplication of wasm definition --- quick_jibri_installer.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index aa5d8bd..e823aa4 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -989,6 +989,9 @@ else echo -n "No condition meet, please report to:" echo "https://forge.switnet.net/switnet/quick-jibri-installer/issues" fi +# Remove possible duplication of wasm definition. +grep -q wasm /etc/nginx/mime.types && sed -i '/types {/,/}/ {/wasm/d}' "$WS_CONF" + sleep .1 #================== Setup prosody conf file =================