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": [
"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/",
"wp/"
],
@ -23,9 +33,10 @@
},
{
"matches": [
"^[^/@]+@[^/]+/"
"^(?:@[^/]+/)?[^/@]+@[^/]+/"
],
"prefixUrls": [
"https://cdn.jsdelivr.net/npm/",
"https://unpkg.com/",
"https://www.skypack.dev/",
"https://esm.sh/",
@ -33,15 +44,6 @@
],
"stripPrefix": false
},
{
"matches": [
"jquery/"
],
"prefixUrls": [
"https://code.jquery.com/"
],
"stripPrefix": true
},
{
"matches": [
"polyfill/"
@ -54,13 +56,31 @@
},
{
"matches": [
"ajax/"
"ajax/jquery/"
],
"prefixUrls": [
"https://code.jquery.com/"
],
"stripPrefix": true
},
{
"matches": [
"ajax/aspnet/"
],
"prefixUrls": [
"https://ajax.aspnetcdn.com/"
],
"stripPrefix": true
},
{
"matches": [
"ajax/ckeditor5/"
],
"prefixUrls": [
"https://cdn.ckeditor.com/ckeditor5/"
],
"stripPrefix": true
},
{
"matches": [
"raw/gh/"

View File

@ -10,9 +10,18 @@
<url>https://ajax.googleapis.com/</url>
</prefixUrls>
</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">
<matches>
<match>npm/</match>
<match>gh/</match>
<match>wp/</match>
</matches>
@ -22,23 +31,16 @@
</route>
<route stripPrefix="false">
<matches>
<match>^[^/@]+@[^/]+/</match>
<match>^(?:@[^/]+/)?[^/@]+@[^/]+/</match>
</matches>
<prefixUrls>
<url>https://cdn.jsdelivr.net/npm/</url>
<url>https://unpkg.com/</url>
<url>https://www.skypack.dev/</url>
<url>https://esm.sh/</url>
<url>https://esm.run/</url>
</prefixUrls>
</route>
<route stripPrefix="true">
<matches>
<match>jquery/</match>
</matches>
<prefixUrls>
<url>https://code.jquery.com/</url>
</prefixUrls>
</route>
<route stripPrefix="true">
<matches>
<match>polyfill/</match>
@ -50,12 +52,28 @@
</route>
<route stripPrefix="true">
<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>
<prefixUrls>
<url>https://ajax.aspnetcdn.com/</url>
</prefixUrls>
</route>
<route stripPrefix="true">
<matches>
<match>ajax/ckeditor5/</match>
</matches>
<prefixUrls>
<url>https://cdn.ckeditor.com/ckeditor5/</url>
</prefixUrls>
</route>
<route stripPrefix="true">
<matches>
<match>raw/gh/</match>