mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 23:59:01 +02:00
Also redirect not found read tokens to v1
This commit is contained in:
@@ -418,7 +418,8 @@ module.exports = class Router
|
||||
maxRequests: 10,
|
||||
timeInterval: 60
|
||||
}),
|
||||
TokenAccessController.readOnlyToken
|
||||
TokenAccessController.readOnlyToken,
|
||||
TokenAccessController.redirectNotFoundErrorToV1
|
||||
|
||||
webRouter.get '/:read_and_write_token([0-9]+[a-z]+)',
|
||||
RateLimiterMiddlewear.rateLimit({
|
||||
|
||||
Reference in New Issue
Block a user