koajs / ratelimit

Rate limiter middleware
MIT License
485 stars 57 forks source link

Status 429 In some cases not adapted #53

Closed leezy23 closed 4 years ago

leezy23 commented 5 years ago

Now, status can not be modified。Can it be used as a configuration item? like this: ctx.status = opts.status ? opts.status : 429;

heibai01 commented 4 years ago

the feature is what i need too.

3imed-jaberi commented 4 years ago

@heibai01, @LiZhouYang5612 I will add this feature to my PR +1 #59