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

Function getNotice

wxapp/fsdlb.js:275–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

fsdlb.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected