Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: FORMS-1303 apply rate limiter to api router #1525

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WalterMoar
Copy link
Collaborator

Description

Apply the express rate limiter globally to the Express Router used for the API. This is simpler than applying it to the app but then restricting it to the API routes.

Type of Change

refactor (change to improve code quality)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have run the npm script lint on the frontend and backend
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have approval from the product owner for the contribution in this pull request

Apply the express rate limiter globally to the Express Router used for the API. This is simpler than applying it to the app but then restricting it to the API routes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant