mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-09 12:34:54 +10:00
increase api rate limiter to 500 requests per day
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user