fix: nodeinfo 2.0 compliance
This commit is contained in:
parent
e473dfb10e
commit
3570406b05
@ -114,6 +114,7 @@ router.get(nodeinfo2_0path, async (ctx) => {
|
||||
|
||||
// @ts-ignore
|
||||
base.software.repository = undefined;
|
||||
base.software.homepage = undefined;
|
||||
|
||||
ctx.body = { version: "2.0", ...base };
|
||||
ctx.set("Cache-Control", "public, max-age=600");
|
||||
|
Loading…
Reference in New Issue
Block a user