1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-23 00:25:15 +01:00

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

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