()
| 94 | .finally(() => $.done()); |
| 95 | |
| 96 | async function getNotice() { |
| 97 | try { |
| 98 | let options = { |
| 99 | url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`, |
| 100 | headers: { |
| 101 | "User-Agent": defaultUserAgent, |
| 102 | }, |
| 103 | timeout:3000 |
| 104 | } |
| 105 | let { |
| 106 | data: res |
| 107 | } = await axios.request(options); |
| 108 | $.log(res) |
| 109 | return res |
| 110 | } catch (e) {} |
| 111 | |
| 112 | } |