mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 12:57:31 -07:00
aww
This commit is contained in:
parent
08c7e52596
commit
8fe7709f29
1 changed files with 2 additions and 3 deletions
|
@ -164,9 +164,8 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => {
|
||||||
|
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
version: "2.0",
|
version: "2.0",
|
||||||
//...base };
|
...base };
|
||||||
...(await nodeinfo2()) };
|
ctx.set("Cache-Control", "public, max-age=600");
|
||||||
//ctx.set("Cache-Control", "public, max-age=600");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
mastoRouter.post("/oauth/token", async (ctx) => {
|
mastoRouter.post("/oauth/token", async (ctx) => {
|
||||||
|
|
Loading…
Reference in a new issue