mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 22:56:08 +09:00
aww
This commit is contained in:
parent
08c7e52596
commit
8fe7709f29
@ -164,9 +164,8 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => {
|
||||
|
||||
ctx.body = {
|
||||
version: "2.0",
|
||||
//...base };
|
||||
...(await nodeinfo2()) };
|
||||
//ctx.set("Cache-Control", "public, max-age=600");
|
||||
...base };
|
||||
ctx.set("Cache-Control", "public, max-age=600");
|
||||
});
|
||||
|
||||
mastoRouter.post("/oauth/token", async (ctx) => {
|
||||
|
Loading…
Reference in New Issue
Block a user