diff options
| author | Adam Soltys <[email protected]> | 2024-10-22 11:47:34 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-22 11:47:34 -0700 |
| commit | bab9ba9bec1d646cc228168d7238c1cd232fd180 (patch) | |
| tree | 477dc4c69d1d874ca78fd5207372f64a7f691475 /lib | |
| parent | d1272e81754f4b451793d572742ae51dd8b00a10 (diff) | |
| download | coinos-server-bab9ba9bec1d646cc228168d7238c1cd232fd180.tar.gz coinos-server-bab9ba9bec1d646cc228168d7238c1cd232fd180.zip | |
increase rate limit
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: 100, + max: 500, timeWindow: 2000, keyGenerator: (req) => req.headers["cf-connecting-ip"] as string, errorResponseBuilder: () => { |
