mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Added Google Material Icons v3.0.1 (#41)
This commit is contained in:
@@ -85,7 +85,7 @@ shorthands['sdn.geekzu.org'] = shorthands['ajax.googleapis.com'];
|
||||
// USTC Linux User Group [Mirror]
|
||||
shorthands['ajax.proxy.ustclug.org'] = shorthands['ajax.googleapis.com'];
|
||||
|
||||
shorthands.specialFiles = function (channelHost, channelPath) {
|
||||
shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||
/*
|
||||
NOTE:
|
||||
jsDelivr allows to load several files in one request
|
||||
@@ -110,6 +110,13 @@ shorthands.specialFiles = function (channelHost, channelPath) {
|
||||
'path': 'resources/algoliasearch3.33.0_algoliasearchLite_algoliasearchHelper.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else if (channelHost + channelPath + searchString === 'fonts.googleapis.com/icon?family=Material+Icons') {
|
||||
return {
|
||||
'source': channelHost,
|
||||
'version': '3.0.1',
|
||||
'path': 'resources/google-material-design-icons/google-material-design-icons.css',
|
||||
'bundle': ''
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user