From f907b23acca15629c9d6d5f81e19904f6c2630d2 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 18 Nov 2022 20:32:58 +0800 Subject: [PATCH] airtable has changed hosting pattern --- .github/prepare-thumb-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/prepare-thumb-images.sh b/.github/prepare-thumb-images.sh index 1a8d9c8..d9fdeba 100755 --- a/.github/prepare-thumb-images.sh +++ b/.github/prepare-thumb-images.sh @@ -13,7 +13,7 @@ for row in $($packages | jq -r '.[] | @base64'); do } dl_url=$(_jq '.thumb_image_url') - if [[ $dl_url == *"https://dl.airtable.com/.attachments"* ]]; then + if [[ $dl_url == *"airtable"* ]]; then filename=$(basename -- "$dl_url") extension="${filename##*.}" filename="${filename%.*}"