mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(rate limits): Making internal rate limits an env var
This commit is contained in:
@@ -56,7 +56,7 @@ const ANON_LIMITS = config.anonRateLimit
|
||||
const WHITELIST_DOMAINS = config.whitelistDomains
|
||||
const WHITELIST_POINTS_TO_CONSUME = config.whitelistRateLimit
|
||||
const POINTS_PER_MINUTE = config.pointsPerMinute
|
||||
const INTERNAL_POINTS_TO_CONSUME = 10
|
||||
const INTERNAL_POINTS_TO_CONSUME = config.internalRateLimit
|
||||
|
||||
class RateLimits {
|
||||
constructor () {
|
||||
|
||||
Reference in New Issue
Block a user