Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

fix: set high API key rate limit for self-hosted instances (#977)

Bryson Treeced0ae6a9da321
diff --git a/server/src/lib/auth.ts b/server/src/lib/auth.ts
index f26e420ac..b73396de6 100644
--- a/server/src/lib/auth.ts
+++ b/server/src/lib/auth.ts
@@ -34,7 +34,7 @@ const pluginList = [
maxRequests: STANDARD_API_RATE_LIMIT,
},
}
- : {}),
+ : { rateLimit: { maxRequests: 10000, timeWindow: 86400000 } }),
}),
dash(),
organization({