mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Added: Google Charts (#167)
This commit is contained in:
@@ -158,6 +158,13 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
||||
'path': 'resources/anchor-js/' + lastVersion + '/anchor.min.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else if (channelHost + channelPath === 'www.gstatic.com/charts/loader.js') {
|
||||
// This CDN always delivers the latest version of 'Google Charts'
|
||||
return {
|
||||
'source': channelHost,
|
||||
'path': 'resources/google-charts/loader.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user