Skip to content

Feature Request: Support per-route limit configuration #120

@kevcomparadise

Description

@kevcomparadise

Hi,

Thanks for the amazing work — this package is incredibly useful for us!
Would it be possible to support per-route configuration limits? For example

/api/endpoint-a -> {
  max: 6,
  duration: 1200,
}

/api/endpoint-b -> {
  max: 3,
  duration: 240,
} 

This would allow us to fine-tune rate limits depending on the endpoint.
I’d be happy to contribute if that helps!

Thanks again 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions