diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,7 +20,8 @@ const app = fastify({ }); await app.register(import("@fastify/rate-limit"), { - max: 50, + allowList: (req, key) => req.raw.url.includes("public"), + max: 100, timeWindow: 2000, keyGenerator: (req) => req.headers["cf-connecting-ip"], }); |
