Update CDN servers list

This commit is contained in:
Namhyeon Go 2025-05-10 21:31:49 +09:00
parent 0ad978bb6b
commit 0438ee9a50
2 changed files with 62 additions and 24 deletions

View File

@ -12,7 +12,17 @@
}, },
{ {
"matches": [ "matches": [
"npm/", "ajax/libs/bootstrap/"
],
"prefixUrls": [
"https://cdnjs.cloudflare.com/ajax/libs/bootstrap/",
"https://maxcdn.bootstrapcdn.com/bootstrap/",
"https://stackpath.bootstrapcdn.com/bootstrap/"
],
"stripPrefix": true
},
{
"matches": [
"gh/", "gh/",
"wp/" "wp/"
], ],
@ -23,9 +33,10 @@
}, },
{ {
"matches": [ "matches": [
"^[^/@]+@[^/]+/" "^(?:@[^/]+/)?[^/@]+@[^/]+/"
], ],
"prefixUrls": [ "prefixUrls": [
"https://cdn.jsdelivr.net/npm/",
"https://unpkg.com/", "https://unpkg.com/",
"https://www.skypack.dev/", "https://www.skypack.dev/",
"https://esm.sh/", "https://esm.sh/",
@ -33,15 +44,6 @@
], ],
"stripPrefix": false "stripPrefix": false
}, },
{
"matches": [
"jquery/"
],
"prefixUrls": [
"https://code.jquery.com/"
],
"stripPrefix": true
},
{ {
"matches": [ "matches": [
"polyfill/" "polyfill/"
@ -54,13 +56,31 @@
}, },
{ {
"matches": [ "matches": [
"ajax/" "ajax/jquery/"
],
"prefixUrls": [
"https://code.jquery.com/"
],
"stripPrefix": true
},
{
"matches": [
"ajax/aspnet/"
], ],
"prefixUrls": [ "prefixUrls": [
"https://ajax.aspnetcdn.com/" "https://ajax.aspnetcdn.com/"
], ],
"stripPrefix": true "stripPrefix": true
}, },
{
"matches": [
"ajax/ckeditor5/"
],
"prefixUrls": [
"https://cdn.ckeditor.com/ckeditor5/"
],
"stripPrefix": true
},
{ {
"matches": [ "matches": [
"raw/gh/" "raw/gh/"

View File

@ -10,9 +10,18 @@
<url>https://ajax.googleapis.com/</url> <url>https://ajax.googleapis.com/</url>
</prefixUrls> </prefixUrls>
</route> </route>
<route stripPrefix="true">
<matches>
<match>ajax/libs/bootstrap/</match>
</matches>
<prefixUrls>
<url>https://maxcdn.bootstrapcdn.com/bootstrap/</url>
<url>https://stackpath.bootstrapcdn.com/bootstrap/</url>
<url>https://cdnjs.cloudflare.com/ajax/libs/bootstrap/<url>
</prefixUrls>
</route>
<route stripPrefix="false"> <route stripPrefix="false">
<matches> <matches>
<match>npm/</match>
<match>gh/</match> <match>gh/</match>
<match>wp/</match> <match>wp/</match>
</matches> </matches>
@ -22,23 +31,16 @@
</route> </route>
<route stripPrefix="false"> <route stripPrefix="false">
<matches> <matches>
<match>^[^/@]+@[^/]+/</match> <match>^(?:@[^/]+/)?[^/@]+@[^/]+/</match>
</matches> </matches>
<prefixUrls> <prefixUrls>
<url>https://cdn.jsdelivr.net/npm/</url>
<url>https://unpkg.com/</url> <url>https://unpkg.com/</url>
<url>https://www.skypack.dev/</url> <url>https://www.skypack.dev/</url>
<url>https://esm.sh/</url> <url>https://esm.sh/</url>
<url>https://esm.run/</url> <url>https://esm.run/</url>
</prefixUrls> </prefixUrls>
</route> </route>
<route stripPrefix="true">
<matches>
<match>jquery/</match>
</matches>
<prefixUrls>
<url>https://code.jquery.com/</url>
</prefixUrls>
</route>
<route stripPrefix="true"> <route stripPrefix="true">
<matches> <matches>
<match>polyfill/</match> <match>polyfill/</match>
@ -50,12 +52,28 @@
</route> </route>
<route stripPrefix="true"> <route stripPrefix="true">
<matches> <matches>
<match>ajax/</match> <match>ajax/jquery/</match>
</matches>
<prefixUrls>
<url>https://code.jquery.com/</url>
</prefixUrls>
</route>
<route stripPrefix="true">
<matches>
<match>ajax/aspnet/</match>
</matches> </matches>
<prefixUrls> <prefixUrls>
<url>https://ajax.aspnetcdn.com/</url> <url>https://ajax.aspnetcdn.com/</url>
</prefixUrls> </prefixUrls>
</route> </route>
<route stripPrefix="true">
<matches>
<match>ajax/ckeditor5/</match>
</matches>
<prefixUrls>
<url>https://cdn.ckeditor.com/ckeditor5/</url>
</prefixUrls>
</route>
<route stripPrefix="true"> <route stripPrefix="true">
<matches> <matches>
<match>raw/gh/</match> <match>raw/gh/</match>
@ -65,4 +83,4 @@
</prefixUrls> </prefixUrls>
</route> </route>
</routes> </routes>
</blobConfig> </blobConfig>