I have a strapi app in which there is a collection called Page
and I want to limit the number of requests to /pages
. I know there is a rateLimit
middleware but how do i use it and change its default limit interval and max values.
Strapi Version: 4.5.1
Operating System: Windows 11
Database: postgres
Copyright Notice:Content Author:「Akhil-Sharma02」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74533355/limit-number-of-requests-for-an-ip-in-strapi