Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "lib/rate-limiters"

Index

Variables

Const generalLimiter

generalLimiter: RateLimit = rateLimit({windowMs: 60 * 60 * 1000,max: 1000,})

general limit for all routes

Const loginLimiter

loginLimiter: RateLimit = rateLimit({windowMs: 15 * 60 * 1000,max: 10,})

Very low limit for the login

Const signupLimiter

signupLimiter: RateLimit = rateLimit({windowMs: 15 * 60 * 1000,max: 10,})

Very low limit for the login

Generated using TypeDoc