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
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -32,6 +32,7 @@
<li>Added: Cycle2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/314">#314</a>)</li> <li>Added: Cycle2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/314">#314</a>)</li>
<li>Updated: Font Awesome v5.12.2 -> v5.12.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/315">#315</a>)</li> <li>Updated: Font Awesome v5.12.2 -> v5.12.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/315">#315</a>)</li>
<li>Added: Bootstrap v3.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/311">#311</a>)</li> <li>Added: Bootstrap v3.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/311">#311</a>)</li>
<li>Fixed: Google Material Icons cannot be loaded (<a href="https://codeberg.org/nobody/LocalCDN/issues/316">#316</a>)</li>
</ul> </ul>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">