diff --git a/core/mappings.js b/core/mappings.js index 98b39547..b9c5b2b5 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -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 + } } }; diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index e7dfb073..b30360dd 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -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'; } diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 66bbb6b5..79d7056a 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -24,6 +24,7 @@ New in LocalCDN: