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

Function getNotice

daily/chery.js:217–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

chery.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected