()
| 325 | // .finally(() => $.done()); |
| 326 | |
| 327 | async function getNotice() { |
| 328 | try { |
| 329 | const options = { |
| 330 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 331 | headers: { |
| 332 | "User-Agent": defaultUserAgent, |
| 333 | }, |
| 334 | timeout: 3000, |
| 335 | }; |
| 336 | const { data: res } = await axios.request(options); |
| 337 | $.log(res); |
| 338 | return res; |
| 339 | } catch (e) {} |
| 340 | } |