Updated: Audit script (#470)

This commit is contained in:
nobody 2021-05-24 07:18:39 +02:00
parent c343e93b78
commit 57a4f3823b
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 5 additions and 1 deletions

View File

@ -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