You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix the problem, we will introduce a rate-limiting middleware using the express-rate-limit package. This middleware will limit the number of requests to the deleteAsset route to a reasonable number per time window. We will:
Install the express-rate-limit package.
Import the package in the express.ts file.
Configure the rate limiter with appropriate settings.
Apply the rate limiter to the deleteAsset route.
This should be applied to all end points i think.
The text was updated successfully, but these errors were encountered:
Github says:
To fix the problem, we will introduce a rate-limiting middleware using the express-rate-limit package. This middleware will limit the number of requests to the deleteAsset route to a reasonable number per time window. We will:
This should be applied to all end points i think.
The text was updated successfully, but these errors were encountered: