MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getNotice

Function getNotice

wxapp/gyjj.js:278–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

gyjj.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected