mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-24 19:07:32 -07:00
stop it from being cached
This commit is contained in:
parent
8e7c6526e1
commit
20a48cabd0
1 changed files with 3 additions and 2 deletions
|
@ -164,8 +164,9 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => {
|
||||||
|
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
version: "2.0",
|
version: "2.0",
|
||||||
...base };
|
//...base };
|
||||||
ctx.set("Cache-Control", "public, max-age=600");
|
...nodeinfo2() };
|
||||||
|
//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