()
| 126 | .finally(() => $.done()); |
| 127 | |
| 128 | async function getNotice() { |
| 129 | try { |
| 130 | let options = { |
| 131 | url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`, |
| 132 | headers: { |
| 133 | "User-Agent": defaultUserAgent, |
| 134 | }, |
| 135 | timeout:3000 |
| 136 | } |
| 137 | let { |
| 138 | data: res |
| 139 | } = await axios.request(options); |
| 140 | $.log(res) |
| 141 | return res |
| 142 | } catch (e) {} |
| 143 | |
| 144 | } |