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

Fixed: Google Material Icons cannot be loaded (#316)

This commit is contained in:
nobody
2021-03-18 07:03:38 +01:00
parent b5ee21308c
commit cb62382a38
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\/.*/,
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/icon\?family=(?!.*Material\+Icons.*).*/,
'GOOGLE_MATERIAL_ICONS': /fonts\.googleapis\.com\/(icon|css)\?family=.*Material\+Icons/,
'JSDELIVR_COMBINE': /cdn\.jsdelivr\.net.*\/combine.*jquery.*hogan.*algoliasearch.*autocomplete.*/,
'BOOTSTRAP_DATEPICKER_3': /\/bootstrap-datepicker3.*\.css/,