mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont rate limit auth in local env so tests can run
This commit is contained in:
parent
b9e2f9ee53
commit
a23b67b70b
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ export const isValidSignupRequest = (obj: any): obj is SignupRequest => {
|
|||
const hourlyLimiter = rateLimit({
|
||||
windowMs: 60 * 60 * 1000,
|
||||
max: 5,
|
||||
skip: (req) => env.dev.isLocal,
|
||||
})
|
||||
|
||||
export function authRouter() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue