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

Improved: Google Font detection (#332)

This commit is contained in:
nobody
2021-04-01 07:01:52 +02:00
parent 1d921b5c31
commit b6e188f0cc
2 changed files with 2 additions and 1 deletions

View File

@@ -199,7 +199,7 @@ const IconType = {
};
const Regex = {
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/.*\?family=(?!.*Material\+Icons.*).*/,
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/.*(?!.*Material\+Icons.*).*/,
'GOOGLE_MATERIAL_ICONS': /fonts\.googleapis\.com\/.*\?family=.*Material\+Icons/,
'JSDELIVR_COMBINE': /cdn\.jsdelivr\.net.*\/combine.*jquery.*hogan.*algoliasearch.*autocomplete.*/,
'BOOTSTRAP_DATEPICKER_3': /\/bootstrap-datepicker3.*\.css/,