Ignore files of blocking page

This commit is contained in:
nobody 2022-09-20 06:51:11 +02:00
parent 1e11e037c2
commit d3b54501d5
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,7 @@
# Exceptions: # Exceptions:
# /resources/*/note # /resources/*/note
# /resources/google-material-design-icons/google-material-design-icons.css # /resources/google-material-design-icons/google-material-design-icons.css
# /resources/blocked/*
# #
# ============================================================================= # =============================================================================
# WHY ARE THESE FILES EXCLUDED? # WHY ARE THESE FILES EXCLUDED?
@ -68,6 +69,10 @@
# #
# /resources/*/note These files contain notes if a file has # /resources/*/note These files contain notes if a file has
# been renamed. # been renamed.
#
# /resources/blocked/* This folder contains files which will be
# displayed if the direct CDN call is blocked.
# (https://codeberg.org/nobody/LocalCDN/issues/1050)
# ============================================================================= # =============================================================================
@ -765,6 +770,7 @@ done < <(find ../resources/ \
! -iname "fa-loader.css" \ ! -iname "fa-loader.css" \
! -iname "google-material-design-icons.css" \ ! -iname "google-material-design-icons.css" \
! -iname "google-fonts-placeholder.css" \ ! -iname "google-fonts-placeholder.css" \
-not -path "../resources/blocked/*" \
-print0) -print0)