()
| 466 | .finally(() => $.done()); |
| 467 | |
| 468 | async function getNotice() { |
| 469 | try { |
| 470 | const { data: res } = await axios.request({ |
| 471 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 472 | headers: { "User-Agent": defaultUserAgent }, |
| 473 | timeout: 3000, |
| 474 | }); |
| 475 | $.log(res); |
| 476 | return res; |
| 477 | } catch (e) {} |
| 478 | } |
no test coverage detected