()
| 384 | .finally(() => $.done()); |
| 385 | |
| 386 | async function getNotice() { |
| 387 | try { |
| 388 | const options = { |
| 389 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 390 | headers: { |
| 391 | "User-Agent": defaultUserAgent, |
| 392 | }, |
| 393 | timeout: 3000, |
| 394 | }; |
| 395 | const { data: res } = await axios.request(options); |
| 396 | $.log(res); |
| 397 | return res; |
| 398 | } catch (e) {} |
| 399 | } |