koajs/ratelimit

whitelist

tj opened this issue · 3 comments

tj commented

support

has any progress been made on this?

I'd love to see this as something built in, but since ctx is passed to the id function, you could conditionally send back a random id (e.g. from uuid) for certain routes or IPs. I'm about to have to implement this myself.

i open a pr here to add whitelist opts

#44