mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
b57adcf02a
commit
7d9fe92f28
1 changed files with 0 additions and 5 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue