MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / statistics

Function statistics

panel/src/app/service/user_statistics.ts:10–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const version = getVersion();
9
10async function statistics() {
11 return await axios.get("http://statistics.mcsmanager.com/", {
12 params: {
13 st,
14 version
15 },
16 timeout: 1000 * 30
17 });
18}
19
20// Only one request within 24 hours counts as valid statistics, and repeated requests are ignored
21// This is set to request once every 24 hours

Callers 1

user_statistics.tsFile · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected