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

Function getNotice

wxapp/colorful.js:327–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325// .finally(() => $.done());
326
327async function getNotice() {
328 try {
329 const options = {
330 url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
331 headers: {
332 "User-Agent": defaultUserAgent,
333 },
334 timeout: 3000,
335 };
336 const { data: res } = await axios.request(options);
337 $.log(res);
338 return res;
339 } catch (e) {}
340}

Callers

nothing calls this directly

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected