()
| 215 | .finally(() => $.done()); |
| 216 | |
| 217 | async function getNotice() { |
| 218 | try { |
| 219 | let options = { |
| 220 | url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`, |
| 221 | headers: { |
| 222 | "User-Agent": defaultUserAgent, |
| 223 | }, |
| 224 | timeout:3000 |
| 225 | } |
| 226 | let { |
| 227 | data: res |
| 228 | } = await axios.request(options); |
| 229 | $.log(res) |
| 230 | return res |
| 231 | } catch (e) {} |
| 232 | |
| 233 | } |