From 19d257f9a794eead23a5e34a3bc948b4a4b8756d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 27 Nov 2024 08:17:30 +0000 Subject: payload is body --- lib/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/app.ts b/lib/app.ts index 3b31a923..837d2647 100644 --- a/lib/app.ts +++ b/lib/app.ts @@ -46,7 +46,7 @@ app.addHook("onResponse", async (req, reply) => { app.register(fastifyRateLimit, { allowList: (req) => req.raw.url?.includes("public"), - max: 500, + max: 2000, timeWindow: 2000, keyGenerator: (req) => req.headers["cf-connecting-ip"] as string, errorResponseBuilder: () => { -- cgit v1.2.3