mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Set max to 10/minute for unauthenticated requests
This commit is contained in:
parent
8d9f54c62c
commit
c49ca0149f
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export const createApp = (): {
|
|||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
req.header('authorization') ?? req.cookies['auth']
|
||||
)
|
||||
return !!token ? 50 : 5
|
||||
return !!token ? 50 : 10
|
||||
},
|
||||
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
|
||||
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
|
||||
|
|
|
|||
Loading…
Reference in a new issue