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

Function getNotice

wxapp/hezj.js:226–242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

224 .finally(() => $.done());
225
226async function getNotice() {
227 try {
228 let options = {
229 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
230 headers: {
231 "User-Agent": defaultUserAgent,
232 },
233 timeout:3000
234 }
235 let {
236 data: res
237 } = await axios.request(options);
238 $.log(res)
239 return res
240 } catch (e) {}
241
242}

Callers 1

hezj.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected