Add a rate limit to the `/project` page GitOrigin-RevId: ef77f092c94c6a88fc73354cee6b8572b84d3d3a
@@ -262,6 +262,11 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
webRouter.get(
'/project',
AuthenticationController.requireLogin(),
+ RateLimiterMiddleware.rateLimit({
+ endpointName: 'open-project',
+ maxRequests: 20,
+ timeInterval: 60
+ }),
ProjectController.projectListPage
)
webRouter.post(