Merge pull request #2120 from overleaf/bg-fix-rate-limit

Revert "Add a rate limit to the `/project` page"

GitOrigin-RevId: 1bcd88e03a4cea2defbd4779bc81d0d972f1cd4e
This commit is contained in:
Brian Gough 2019-09-03 08:40:45 +01:00 committed by sharelatex
parent b57adcf02a
commit 7d9fe92f28

View file

@ -262,11 +262,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
webRouter.get( webRouter.get(
'/project', '/project',
AuthenticationController.requireLogin(), AuthenticationController.requireLogin(),
RateLimiterMiddleware.rateLimit({
endpointName: 'open-project',
maxRequests: 20,
timeInterval: 60
}),
ProjectController.projectListPage ProjectController.projectListPage
) )
webRouter.post( webRouter.post(