Added CDN: gitcdn.github.io (#90)

This commit is contained in:
nobody 2020-08-24 07:37:32 +02:00
parent 47f5ec3cbf
commit c840aeb6b5
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 13 additions and 1 deletions

View File

@ -27,7 +27,7 @@
* This only needs to be updated when new domains are added.
* It's not necessary for subdirectories!
*/
var lastMappingUpdate = "2020-08-09";
var lastMappingUpdate = "2020-08-24";
var mappings = {
@ -761,6 +761,15 @@ var mappings = {
'/': {
'renewal/static/js/lozad.min.': resources.lozad
}
},
// gitcdn.github.io
'gitcdn.github.io': {
'/': {
'bootstrap-toggle/{version}/js/bootstrap-toggle.': resources.bootstrapToggleJS,
'bootstrap-toggle/{version}/js/bootstrap2-toggle.': resources.bootstrap2ToggleJS,
'bootstrap-toggle/{version}/css/bootstrap-toggle.': resources.bootstrapToggleCSS,
'bootstrap-toggle/{version}/css/bootstrap2-toggle.': resources.bootstrap2ToggleCSS
}
}
};

View File

@ -224,6 +224,8 @@ helpers.determineCdnName = function (domainName) {
return 'PageCDN';
case 'fonts.googleapis.com':
return 'Google Fonts';
case 'gitcdn.github.io':
return 'GitHub';
default:
return 'Unknown';
}

View File

@ -24,6 +24,7 @@
New in LocalCDN:
</div>
<ul>
<li>Added CDN: gitcdn.github.io (<a href="https://codeberg.org/nobody/LocalCDN/issues/90">#90</a>)</li>
<li>Added: Bootstrap Toggle v2.2.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/90">#90</a>)</li>
</ul>
<div id="generator-section">