MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getNotice

Function getNotice

daily/mtf.js:128–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 .finally(() => $.done());
127
128async function getNotice() {
129 try {
130 let options = {
131 url: `https://ghproxy.net/https://raw.githubusercontent.com/smallfawn/Note/refs/heads/main/Notice.json`,
132 headers: {
133 "User-Agent": defaultUserAgent,
134 },
135 timeout:3000
136 }
137 let {
138 data: res
139 } = await axios.request(options);
140 $.log(res)
141 return res
142 } catch (e) {}
143
144}

Callers 1

mtf.jsFile · 0.70

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected