mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-27 10:24:48 +10:00
increase api rate limiter to 500 requests per day
This commit is contained in:
@@ -171,7 +171,14 @@ const getAuthConfig = () => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
apiKey(),
|
apiKey({
|
||||||
|
enableSessionForAPIKeys: true,
|
||||||
|
rateLimit: {
|
||||||
|
enabled: true,
|
||||||
|
timeWindow: 1000 * 60 * 60 * 24, // 1 day
|
||||||
|
maxRequests: 500, // 500 requests per day
|
||||||
|
},
|
||||||
|
}),
|
||||||
username({
|
username({
|
||||||
minUsernameLength: 3,
|
minUsernameLength: 3,
|
||||||
maxUsernameLength: 64,
|
maxUsernameLength: 64,
|
||||||
|
|||||||
Reference in New Issue
Block a user