Merge branch 'fix/nodeinfo' into 'develop'
fix: nodeinfo 2.0 compliance Co-authored-by: naskya <m@naskya.net> Closes #10798 See merge request firefish/firefish!10643
This commit is contained in:
commit
30a33a7445
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