()
| 276 | .finally(() => $.done()); |
| 277 | |
| 278 | async function getNotice() { |
| 279 | try { |
| 280 | const { data: res } = await axios.request({ |
| 281 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 282 | headers: { "User-Agent": defaultUserAgent }, |
| 283 | timeout: 3000, |
| 284 | }); |
| 285 | $.log(res); |
| 286 | return res; |
| 287 | } catch (e) {} |
| 288 | } |