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

Function getNotice

wxapp/nwdjg.js:186–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184 .finally(() => $.done());
185
186async function getNotice() {
187 try {
188 let options = {
189 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
190 headers: {
191 "User-Agent": defaultUserAgent,
192 },
193 timeout: 3000
194 }
195 let {
196 data: res
197 } = await axios.request(options);
198 $.log(res)
199 return res
200 } catch (e) { }
201
202}

Callers 1

nwdjg.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected