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

Function getNotice

daily/dfyc.js:214–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 .finally(() => $.done());
213
214async function getNotice() {
215 try {
216 let options = {
217 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
218 headers: {
219 "User-Agent": defaultUserAgent,
220 },
221 timeout:3000
222 }
223 let {
224 data: res
225 } = await axios.request(options);
226 $.log(res)
227 return res
228 } catch (e) {}
229
230}

Callers 1

dfyc.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected