Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🚀 Increase rate limit of license validation endpoint

Luke Vella7acd72b72602
diff --git a/apps/web/src/app/api/licensing/v1/[...route]/route.ts b/apps/web/src/app/api/licensing/v1/[...route]/route.ts
index 3fb4ec5bc..49e2483ca 100644
--- a/apps/web/src/app/api/licensing/v1/[...route]/route.ts
+++ b/apps/web/src/app/api/licensing/v1/[...route]/route.ts
@@ -77,10 +77,10 @@ app.post(
rateLimiter({
keyGenerator: async (c) => {
const { key, fingerprint } = await c.req.json();
- return `validate-key:${key}:${fingerprint}`;
+ return `validate-license-key:${key}:${fingerprint}`;
},
windowMs: 60 * 1000,
- limit: 10,
+ limit: 100,
store: isKvAvailable
? new RedisStore({
client: kv,