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

Function getNotice

daily/ddsy.js:148–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 .finally(() => $.done());
147
148async function getNotice() {
149 try {
150 let options = {
151 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
152 headers: {
153 "User-Agent": defaultUserAgent,
154 },
155 timeout: 3000
156 }
157 let {
158 data: res
159 } = await axios.request(options);
160 $.log(res)
161 return res
162 } catch (e) { }
163
164}

Callers 1

ddsy.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected