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

Improved: Regex for FontAwesome (Fonts only)

This commit is contained in:
nobody
2021-04-12 06:53:11 +02:00
parent 1efcf3d09a
commit ce4c65f74e

View File

@ -206,7 +206,7 @@ const Regex = {
'BOOTSTRAP_DATEPICKER': /\/bootstrap-datepicker.*\.css/, 'BOOTSTRAP_DATEPICKER': /\/bootstrap-datepicker.*\.css/,
'FONT_AWESOME': /use\.fontawesome\.com\/fa-loader\.css/, 'FONT_AWESOME': /use\.fontawesome\.com\/fa-loader\.css/,
'FONT_AWESOME_WITH_CODE': /use\.fontawesome\.com\/[a-z0-9]{10}\.(js|css)/, 'FONT_AWESOME_WITH_CODE': /use\.fontawesome\.com\/[a-z0-9]{10}\.(js|css)/,
'FONT_AWESOME_FONTS_ONLY': /\/fontawesome\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//, 'FONT_AWESOME_FONTS_ONLY': /\/font-?awesome\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//,
'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\// 'BOOTSTRAP_FONTS_ONLY': /\/bootstrap\/(?:\d{1,2}\.){1,3}\d{1,2}\/fonts\//
}; };