mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 23:35:02 +08:00
替换通知
This commit is contained in:
@@ -637,7 +637,7 @@ async function getNotice() {
|
||||
},
|
||||
result = await httpRequest(options);
|
||||
if (!result || !("notice" in result)) {
|
||||
options.url = `https://gitee.com/smallfawn/Note/raw/master/Notice.json`;
|
||||
options.url = `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`;
|
||||
result = await httpRequest(options);
|
||||
}
|
||||
if (result && "notice" in result) {
|
||||
|
||||
@@ -222,7 +222,7 @@ async function getNotice() {
|
||||
"https://gcore.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||
"https://cdn.jsdelivr.net/gh/smallfawn/Note@main/Notice.json",
|
||||
"https://ghproxy.com/https://raw.githubusercontent.com/smallfawn/Note/main/Notice.json",
|
||||
"https://gitee.com/smallfawn/Note/raw/master/Notice.json",
|
||||
"https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
|
||||
];
|
||||
let notice = null;
|
||||
for (const url of urls) {
|
||||
|
||||
Reference in New Issue
Block a user