1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Update: Swiper v6.5.6 -> v6.5.7 (#382)

This commit is contained in:
nobody
2021-04-18 07:17:51 +02:00
parent d1256f6bab
commit 3a1427c5d0
8 changed files with 22 additions and 21 deletions

View File

@@ -481,9 +481,9 @@ function create_url() {
url="$CLOUDFLARE/$folder/$version/js/$jfile"
elif [ "$folder" = "Swiper" ] && [ "$version" != "3.4.2" ] && [ "$version" != "4.5.1" ] && [ "$version" != "5.4.5" ]; then
if [[ "$path" =~ .*swiper\.min\.css$ ]]; then
url="$CLOUDFLARE/$folder/$version/swiper-bundle.min.css"
url="$JSDELIVR/npm/swiper@$version/swiper-bundle.min.css"
elif [[ "$path" =~ .*swiper\.min\.js$ ]]; then
url="$CLOUDFLARE/$folder/$version/swiper-bundle.min.js"
url="$JSDELIVR/npm/swiper@$version/swiper-bundle.min.js"
fi
elif [ "$folder" = "tooltipster" ] && [ "$version" = "4.2.8" ]; then
url="$CLOUDFLARE/$folder/$version/js/tooltipster.bundle.min.js"