remove possible duplication of wasm definition

This commit is contained in:
Luis Guzmán 2025-01-20 02:36:44 -06:00
parent 3ba587fc4f
commit 60c4641c57
1 changed files with 3 additions and 0 deletions

View File

@ -989,6 +989,9 @@ else
echo -n "No condition meet, please report to:" echo -n "No condition meet, please report to:"
echo "https://forge.switnet.net/switnet/quick-jibri-installer/issues" echo "https://forge.switnet.net/switnet/quick-jibri-installer/issues"
fi fi
# Remove possible duplication of wasm definition.
grep -q wasm /etc/nginx/mime.types && sed -i '/types {/,/}/ {/wasm/d}' "$WS_CONF"
sleep .1 sleep .1
#================== Setup prosody conf file ================= #================== Setup prosody conf file =================