From 57a4f3823b360ca49d298f4577555157b8cad7fd Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 24 May 2021 07:18:39 +0200 Subject: [PATCH] Updated: Audit script (#470) --- audit/audit.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audit/audit.sh b/audit/audit.sh index 659db596..a3a6493d 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -561,7 +561,11 @@ function create_url() { if [[ "$subfile" =~ \.css$ ]]; then url="$CLOUDFLARE/$folder/$version/css/$subfile" elif [[ "$subfile" =~ \.js$ ]]; then - url="$CLOUDFLARE/$folder/$version/js/$subfile" + if [[ "$version" = 3* ]]; then + url="$CLOUDFLARE/$folder/$version/js/bootstrap.min.js" + else + url="$CLOUDFLARE/$folder/$version/js/bootstrap.bundle.min.js" + fi elif [ "$subfile" = "glyphicons-halflings-regular.woff2" ]; then url="$CLOUDFLARE/twitter-bootstrap/3.4.1/fonts/glyphicons-halflings-regular.woff2" fi