fix(rules): update from gh-pages build (#656)
* fix(rules): update from gh-pages build * bad link
This commit is contained in:
parent
5a5e365e65
commit
e7faeb24a0
|
|
@ -12,12 +12,12 @@ export function refreshRules(success) {
|
|||
success && success();
|
||||
});
|
||||
};
|
||||
fetch('https://raw.githubusercontent.com/DIYgod/RSSHub/master/assets/radar-rules.js')
|
||||
fetch('https://rsshub.js.org/build/radar-rules.js')
|
||||
.then((response) => {
|
||||
done(response);
|
||||
})
|
||||
.catch(() => {
|
||||
fetch('https://cdn.jsdelivr.net/gh/DIYgod/RSSHub@master/assets/radar-rules.js').then((response) => {
|
||||
fetch('https://cdn.jsdelivr.net/gh/DIYgod/RSSHub@gh-pages/build/radar-rules.js').then((response) => {
|
||||
done(response);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue