Skip to content

Commit

Permalink
Make replacement URL clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed May 1, 2024
1 parent 41d934f commit 58891e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/ui-base/purge-google-fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare -a LINKS=(
"https://fonts.googleapis.com"
"https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/.*/iframeResizer.contentWindow.min.js"
)
REPLACEMENT="no-GDPR-violations-here"
REPLACEMENT="external-url-removed-for-gdpr-compliance"
for item in "${LINKS[@]}"; do
find $SOURCE_CODE_PATH -name "*.html" -type f -exec sed -i s!$item!$REPLACEMENT!g {} \;
done

0 comments on commit 58891e3

Please sign in to comment.