tunnckoCore / koa-better-ratelimit

:rocket: Smart and easy request rate limiter for your APIs built on `koa`, using `koa-ip-filter`. Support custom stores, custom ID, custom error messages and custom headers.
http://j.mp/1stW47C
MIT License
38 stars 6 forks source link

fix options assignment (#11) #13

Closed rjz closed 7 years ago

rjz commented 7 years ago

User-specified opts can once again override default options.

Thanks for reviewing!

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 29.032% when pulling 113c8ac6f0b03e965855b44aacf742a7957f10b8 on koaninc:master into b5a26d47d349684389068e98ee9a8a5d023e83eb on tunnckoCore:master.

tunnckoCore commented 7 years ago

@rjz thanks again!

Next time follow github's convention for fix, close and etc - like fix #11 or fixes #5555 in your PR comment / git message.

Also follow the CONTRIBUTING.md guide and npm run commit instead of git commit.

rjz commented 7 years ago

:+1: You've got it. Cheers!