mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-02 12:27:27 +01:00
Added new CDN: PageCDN
This commit is contained in:
parent
f16e456c5b
commit
419d729406
@ -26,7 +26,7 @@
|
||||
* This only needs to be updated when new domains are added.
|
||||
* It's not necessary for subdirectories!
|
||||
*/
|
||||
var lastMappingUpdate = "2020-03-25";
|
||||
var lastMappingUpdate = "2020-06-06";
|
||||
|
||||
var mappings = {
|
||||
|
||||
@ -681,8 +681,12 @@ mappings['sdn.geekzu.org'] = {
|
||||
// USTC Linux User Group [Mirror]
|
||||
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
|
||||
|
||||
|
||||
//UNPKG (Cloudflare)
|
||||
mappings['unpkg.com'] = {
|
||||
'/': mappings['cdn.jsdelivr.net']['/npm/']
|
||||
};
|
||||
|
||||
// PageCDN
|
||||
mappings['pagecdn.io'] = {
|
||||
'/lib/': mappings['cdnjs.cloudflare.com']['/ajax/libs/']
|
||||
};
|
||||
|
@ -209,6 +209,8 @@ helpers.determineCdnName = function (domainName) {
|
||||
return 'Akamai WebCDN';
|
||||
case 'netdna.bootstrapcdn.com':
|
||||
return 'NetDNA';
|
||||
case 'pagecdn.io':
|
||||
return 'PageCDN';
|
||||
default:
|
||||
return 'Unknown';
|
||||
}
|
||||
|
@ -35,6 +35,7 @@
|
||||
<li>Translations updated (Spanish)</li>
|
||||
<li>Added: AngularJS Material Design v1.1.21</li>
|
||||
<li>Added Bootstrap to cdn.jsdelivr.net</li>
|
||||
<li>Added new CDN: PageCDN</li>
|
||||
</ul>
|
||||
<div class="topic-label">
|
||||
Please update your uBlock/uMatrix rules
|
||||
|
Loading…
x
Reference in New Issue
Block a user