mirror of
https://github.com/okyyds/yyds.git
synced 2026-07-13 23:11:18 +08:00
1
This commit is contained in:
@@ -110,9 +110,9 @@ if ($.isNode()) {
|
||||
await pasture();
|
||||
await $.wait(2000);
|
||||
}
|
||||
$.res = await getAuthorShareCode('https://raw.githubusercontent.com/Aaron-lv/updateTeam/master/shareCodes/jxmc.json')
|
||||
$.res = await getAuthorShareCode('https://raw.githubusercontent.com/okyyds/duck/master/code/jxmc.json')
|
||||
if (!$.res) {
|
||||
$.http.get({url: 'https://purge.jsdelivr.net/gh/Aaron-lv/updateTeam@master/shareCodes/jxmc.json'}).then((resp) => {}).catch((e) => console.log('刷新CDN异常', e));
|
||||
$.http.get({url: 'https://raw.githubusercontent.com/okyyds/duck/master/code/jxmc.json'}).then((resp) => {}).catch((e) => console.log('刷新CDN异常', e));
|
||||
await $.wait(1000)
|
||||
$.res = await getAuthorShareCode('https://cdn.jsdelivr.net/gh/Aaron-lv/updateTeam@master/shareCodes/jxmc.json')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user