patova
patova copied to clipboard
Route options
This pull request will allow to override settings for each route.
I also added a few useful settings to override -
enabled
- to enable rate limiting only for specific routes
addHeaders
- to add rate liming headers to response
count
- to change the cost of a route
All new settings are optional and default to original behavior.
@yonjah thanks for the PR. I'm a bit backed up at work but will try to make some time to review
Ok hope it looks better now