MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getNotice

Function getNotice

wxapp/mxbc.js:461–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459 .finally(() => $.done());
460
461async function getNotice() {
462 try {
463 let options = {
464 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
465 headers: {
466 "User-Agent": defaultUserAgent,
467 },
468 timeout: 3000
469 }
470 let {
471 data: res
472 } = await axios.request(options);
473 $.log(res)
474 return res
475 } catch (e) { }
476
477}

Callers 1

mxbc.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected