1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-22 16:12:13 +01:00

Updated: audit.sh (bodymovin)

This commit is contained in:
nobody 2021-05-18 06:18:28 +02:00
parent 51e26e31e8
commit 8f0b32f667
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,8 @@ https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.css
https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.js
https://cdnjs.cloudflare.com/ajax/libs/blazy/1.8.2/blazy.min.js
https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.7.2/bluebird.min.js
https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.13.0/bodymovin.min.js
https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.8/lottie.min.js
https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js
https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/5.5.2/bootbox.min.js
https://cdnjs.cloudflare.com/ajax/libs/bootstrap-3-typeahead/4.0.2/bootstrap3-typeahead.min.js

View File

@ -653,6 +653,8 @@ function create_url() {
fi
elif [ "$folder" = "leaflet.featuregroup.subgroup" ]; then
url="$JSDELIVR/npm/$folder@$version/dist/leaflet.featuregroup.subgroup.js"
elif [ "$folder" = "bodymovin" ] && [[ "$version" = 5* ]]; then
url="$CLOUDFLARE/$folder/$version/lottie.min.js"
else
if [ "$subfile" = "$jfile" ]; then
url="$CLOUDFLARE/$folder/$version/$subfile"