1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-02-17 04:10:53 +01:00

Fixed: Mapping of Google Material Icons (#87)

This commit is contained in:
nobody 2020-08-22 14:55:47 +02:00
parent 1e02975f9b
commit db083a9f2f
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -111,7 +111,7 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
'path': 'resources/algoliasearch3.33.0_algoliasearchLite_algoliasearchHelper.jsm',
'bundle': ''
};
} else if (channelHost + channelPath + searchString === 'fonts.googleapis.com/icon?family=Material+Icons') {
} else if (/fonts\.googleapis\.com\/(icon|css)\?family=Material\+Icons/.test(channelHost + channelPath + searchString)) {
return {
'source': channelHost,
'version': '3.0.1',