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

Added CDN: fonts.gstatic.com (#269)

This commit is contained in:
nobody
2021-02-10 06:36:01 +01:00
parent ee0d337c91
commit 8bb6d5fa61
4 changed files with 9 additions and 4 deletions

View File

@@ -194,7 +194,7 @@ const IconType = {
};
const Regex = {
'GOOGLE_FONTS': /fonts\.googleapis\.com\/(css|icons)(?!.*Material\+Icons).*/,
'GOOGLE_FONTS': /fonts\.(googleapis|gstatic)\.com\/.*/,
'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/,
@@ -254,6 +254,7 @@ const CDNs = {
const IgnoredHost = {
'fonts.googleapis.com': true,
'fonts.gstatic.com': true,
};
// Supported charsets for TextDecoder()