()
| 281 | .finally(() => $.done()); |
| 282 | |
| 283 | async function getNotice() { |
| 284 | try { |
| 285 | const options = { |
| 286 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 287 | headers: { |
| 288 | "User-Agent": defaultUserAgent, |
| 289 | }, |
| 290 | timeout: 3000, |
| 291 | }; |
| 292 | const { data: res } = await axios.request(options); |
| 293 | $.log(res); |
| 294 | return res; |
| 295 | } catch (e) {} |
| 296 | } |
no test coverage detected