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

Function getNotice

wxapp/musi.js:240–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 .finally(() => $.done());
239
240async function getNotice() {
241 try {
242 let options = {
243 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
244 headers: {
245 "User-Agent": defaultUserAgent,
246 },
247 timeout: 3000
248 }
249 let {
250 data: res
251 } = await axios.request(options);
252 $.log(res)
253 return res
254 } catch (e) { }
255
256}

Callers 1

musi.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected