Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

increase api rate limiter to 500 requests per day

Amruth Pillaid874ea4f8353
diff --git a/src/integrations/auth/config.ts b/src/integrations/auth/config.ts
index 8e023e9f7..b7fef3113 100644
--- a/src/integrations/auth/config.ts
+++ b/src/integrations/auth/config.ts
@@ -171,7 +171,14 @@ const getAuthConfig = () => {
},
plugins: [
- apiKey(),
+ apiKey({
+ enableSessionForAPIKeys: true,
+ rateLimit: {
+ enabled: true,
+ timeWindow: 1000 * 60 * 60 * 24, // 1 day
+ maxRequests: 500, // 500 requests per day
+ },
+ }),
username({
minUsernameLength: 3,
maxUsernameLength: 64,