Added CDN: gitcdn.github.io (#90)
This commit is contained in:
parent
47f5ec3cbf
commit
c840aeb6b5
|
@ -27,7 +27,7 @@
|
||||||
* This only needs to be updated when new domains are added.
|
* This only needs to be updated when new domains are added.
|
||||||
* It's not necessary for subdirectories!
|
* It's not necessary for subdirectories!
|
||||||
*/
|
*/
|
||||||
var lastMappingUpdate = "2020-08-09";
|
var lastMappingUpdate = "2020-08-24";
|
||||||
|
|
||||||
var mappings = {
|
var mappings = {
|
||||||
|
|
||||||
|
@ -761,6 +761,15 @@ var mappings = {
|
||||||
'/': {
|
'/': {
|
||||||
'renewal/static/js/lozad.min.': resources.lozad
|
'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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -224,6 +224,8 @@ helpers.determineCdnName = function (domainName) {
|
||||||
return 'PageCDN';
|
return 'PageCDN';
|
||||||
case 'fonts.googleapis.com':
|
case 'fonts.googleapis.com':
|
||||||
return 'Google Fonts';
|
return 'Google Fonts';
|
||||||
|
case 'gitcdn.github.io':
|
||||||
|
return 'GitHub';
|
||||||
default:
|
default:
|
||||||
return 'Unknown';
|
return 'Unknown';
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
New in LocalCDN:
|
New in LocalCDN:
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<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>
|
<li>Added: Bootstrap Toggle v2.2.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/90">#90</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
|
|
Loading…
Reference in New Issue