fix: nodeinfo 2.0 compliance
This commit is contained in:
parent
e473dfb10e
commit
3570406b05
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue