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