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

Function getNotice

wxapp/zbs.js:259–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257 .finally(() => $.done());
258
259async function getNotice() {
260 try {
261 const options = {
262 url: "https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json",
263 headers: {
264 "User-Agent": defaultUserAgent,
265 },
266 timeout: 3000,
267 };
268 const { data: res } = await axios.request(options);
269 $.log(res);
270 return res;
271 } catch (e) {}
272}

Callers 1

zbs.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected