mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +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 = {
|
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 New Issue
Block a user