()
| 257 | .finally(() => $.done()); |
| 258 | |
| 259 | async function getNotice() { |
| 260 | try { |
| 261 | const options = { |
| 262 | url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json", |
| 263 | headers: { |
| 264 | "User-Agent": defaultUserAgent, |
| 265 | }, |
| 266 | timeout: 3000, |
| 267 | }; |
| 268 | const { data: res } = await axios.request(options); |
| 269 | $.log(res); |
| 270 | return res; |
| 271 | } catch (e) {} |
| 272 | } |