diff options
| author | Adam Soltys <[email protected]> | 2024-11-27 08:17:30 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-27 08:17:32 +0000 |
| commit | 19d257f9a794eead23a5e34a3bc948b4a4b8756d (patch) | |
| tree | 9570f00e79b4c5e15e8247ed65b4005e7ccae9d4 /lib | |
| parent | 430b17d26fa3fe2ef31c6fb0850882a9fd4c830c (diff) | |
| download | coinos-server-19d257f9a794eead23a5e34a3bc948b4a4b8756d.tar.gz coinos-server-19d257f9a794eead23a5e34a3bc948b4a4b8756d.zip | |
payload is body
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/app.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: () => { |
