koajs / ratelimit

Rate limiter middleware
MIT License
485 stars 57 forks source link

Added support for custom error message #12

Closed Volox closed 8 years ago

Volox commented 9 years ago

Removed unused dependency ms.

fixe commented 9 years ago

@Volox can you please add a test and remove the body from the first commit? Also, it would be cool to ignore the body completely.

Volox commented 9 years ago

@fixe just added a test.

Just a question, how i can remove the body from a commit without messing up the history (eg. rebase)?

fixe commented 9 years ago

@Volox you can do a git rebase origin/master and go from there. Also, git commit --amend is your friend :-)

Volox commented 9 years ago

@fixe Done!

fixe commented 9 years ago

@Volox can you add the option to remove the body completely? Or do you want me to do it?

Volox commented 9 years ago

@fixe mmm ok... in this case only the status is set right?

fixe commented 9 years ago

Correct.

haoxins commented 8 years ago

v2.4.0