I made this change to allow for a custom error message in the body of the "429" response - reason being that my Koa application uses a scheme to label the error messages so they can be consumed by an automated client a bit easier.
Let me know what you think and thanks for this great middleware!
I made this change to allow for a custom error message in the body of the "429" response - reason being that my Koa application uses a scheme to label the error messages so they can be consumed by an automated client a bit easier.
Let me know what you think and thanks for this great middleware!