diff --git a/README.md b/README.md index b686394..b99fa92 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ $config = array( 'max_num' => 15,/*队列中允许停留的最多请求数,其他请求直接返回服务繁忙*/ 'last_for' => 2700 /*In seconds*/ ), - 'service_busy' => 'https://cdn.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png',/*队列过多时返回的“服务繁忙”图片url*/ + 'service_busy' => 'https://fastly.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png',/*队列过多时返回的“服务繁忙”图片url*/ 'thumbnail' => true, 'preview' => true, 'max_preview_size' => 314572, /*最大支持预览的文件大小(in bytes)*/ @@ -297,7 +297,7 @@ AutoCache会在你的文件目录被大量访问时**自动缓存目录**,配 'max_num'=>15,/*队列中允许停留的最多请求数,其他请求直接返回服务繁忙*/ 'last_for'=>2700 /*In seconds*/ ), -'service_busy'=>'https://cdn.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png', +'service_busy'=>'https://fastly.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png', ``` TheQueue会在游客对文件造成大量请求时防止并发情况出现,可以有效防止账户被微软限制. diff --git a/assets/script.js b/assets/script.js index 97dfb15..0e06df9 100644 --- a/assets/script.js +++ b/assets/script.js @@ -35,6 +35,6 @@ document.addEventListener("DOMContentLoaded", function() { }); -import "https://cdn.jsdelivr.net/npm/marked/marked.min.js" +import "https://fastly.jsdelivr.net/npm/marked/marked.min.js" renderReadme().catch(console.error) diff --git a/assets/woff.css b/assets/woff.css index 27e8831..006e5c1 100644 --- a/assets/woff.css +++ b/assets/woff.css @@ -3,7 +3,7 @@ font-family: 'Material Icons'; font-style: normal; font-weight: 400; - src: url(https://cdn.jsdelivr.net/gh/SomeBottle/OdIndex@1.2.6.1/assets/material-icons.woff2) format('woff2'); + src: url(https://fastly.jsdelivr.net/gh/SomeBottle/OdIndex@1.2.6.1/assets/material-icons.woff2) format('woff2'); } .material-icons { diff --git a/index.php b/index.php index b1bc406..5292224 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,7 @@ 'max_num' => 15,/*队列中允许停留的最多请求数,其他请求直接返回服务繁忙*/ 'last_for' => 2700 /*In seconds*/ ), - 'service_busy' => 'https://cdn.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png',/*队列过多时返回的“服务繁忙”图片url*/ + 'service_busy' => 'https://fastly.jsdelivr.net/gh/SomeBottle/odindex/assets/unavailable.png',/*队列过多时返回的“服务繁忙”图片url*/ 'thumbnail' => true, 'preview' => true, 'max_preview_size' => 314572, /*最大支持预览的文件大小(in bytes)*/ diff --git a/template.html b/template.html index 15c72e6..b6cf4de 100644 --- a/template.html +++ b/template.html @@ -5,10 +5,10 @@ - - - - + + + +