From b64bccfcbc05e1d685ad5639b8e3ee89299ba863 Mon Sep 17 00:00:00 2001 From: Thomas Rientjes <synzvato@protonmail.com> Date: Tue, 3 Dec 2024 02:52:02 +0100 Subject: [PATCH] Update delivery network metadata --- code/data/resource/mappings.js | 6 +++--- pages/shared/code/helpers.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/data/resource/mappings.js b/code/data/resource/mappings.js index e6319bd..20ff19a 100644 --- a/code/data/resource/mappings.js +++ b/code/data/resource/mappings.js @@ -112,7 +112,7 @@ const mappings = { 'webfont/{version}/webfont': ResourceSets.webfont } }, - // jQuery CDN (MaxCDN) + // jQuery CDN (Fastly) 'code.jquery.com': { '/': { 'jquery-{version}.': ResourceSets.jQuery, @@ -130,7 +130,7 @@ const mappings = { } } }, - // jsDelivr (MaxCDN) + // jsDelivr (Cloudflare, Fastly) 'cdn.jsdelivr.net': { '/': { 'angularjs/{version}/angular.': ResourceSets.angular, @@ -267,7 +267,7 @@ const mappings = { 'mootoolscore/mootools.core-{version}.': ResourceSets.mootools } }, - // BootCDN + // BootCDN [Dissolved] 'cdn.bootcss.com': { '/': { 'angular.js/{version}/angular.': ResourceSets.angular, diff --git a/pages/shared/code/helpers.js b/pages/shared/code/helpers.js index 6aaf368..0af552b 100644 --- a/pages/shared/code/helpers.js +++ b/pages/shared/code/helpers.js @@ -234,9 +234,9 @@ const determineCdnName = (domainName) => { case 'cdnjs.cloudflare.com': return 'CDNJS (Cloudflare)'; case 'code.jquery.com': - return 'jQuery CDN (MaxCDN)'; + return 'jQuery CDN (Fastly)'; case 'cdn.jsdelivr.net': - return 'jsDelivr (MaxCDN)'; + return 'jsDelivr (Cloudflare, Fastly)'; case 'yastatic.net': return 'Yandex CDN'; case 'yandex.st': @@ -250,7 +250,7 @@ const determineCdnName = (domainName) => { case 'upcdn.b0.upaiyun.com': return 'UpYun Library'; case 'cdn.bootcss.com': - return 'BootCDN'; + return 'BootCDN [Dissolved]'; case 'sdn.geekzu.org': return 'Geekzu Public Service [Mirror]'; case 'ajax.proxy.ustclug.org': -- GitLab