mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
docs: update cdn link (#698)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
let failed;
|
||||
let isRunning;
|
||||
const DEST_LIST = [
|
||||
'cdn.jsdelivr.net',
|
||||
'jsd.cdn.zzko.cn',
|
||||
'cdn.jsdelivr.us',
|
||||
'jsd.cdn.zzko.cn',
|
||||
'jsd.onmicrosoft.cn',
|
||||
'fastly.jsdelivr.net',
|
||||
'gcore.jsdelivr.net'
|
||||
'gcore.jsdelivr.net',
|
||||
'cdn.jsdelivr.net',
|
||||
];
|
||||
const PREFIX = '//';
|
||||
const SOURCE = DEST_LIST[0];
|
||||
const starTime = Date.now();
|
||||
const TIMEOUT = 2000;
|
||||
const TIMEOUT = 1000;
|
||||
const STORE_KEY = 'jsdelivr-auto-fallback';
|
||||
const TEST_PATH = '/gh/PipecraftNet/jsdelivr-auto-fallback@main/empty.css?';
|
||||
const shouldReplace = (text) => text && text.includes(PREFIX + SOURCE);
|
||||
|
Reference in New Issue
Block a user