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

Function getNotice

wxapp/guyu.js:235–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

guyu.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected