mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
stop it from being cached
This commit is contained in:
parent
8e7c6526e1
commit
20a48cabd0
@ -164,8 +164,9 @@ mastoRouter.get("/nodeinfo/2.0.json", async (ctx) => {
|
||||
|
||||
ctx.body = {
|
||||
version: "2.0",
|
||||
...base };
|
||||
ctx.set("Cache-Control", "public, max-age=600");
|
||||
//...base };
|
||||
...nodeinfo2() };
|
||||
//ctx.set("Cache-Control", "public, max-age=600");
|
||||
});
|
||||
|
||||
mastoRouter.post("/oauth/token", async (ctx) => {
|
||||
|
Loading…
Reference in New Issue
Block a user