|
@@ -25,11 +25,11 @@ const defaultStrictConfigKey: IApiRateLimitConfig = {
|
|
|
method: 'POST',
|
|
method: 'POST',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|
|
|
- '/forgot-password/:token': {
|
|
|
|
|
|
|
+ '/forgot-password/.*': {
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|
|
|
- '/user-activation/:token': {
|
|
|
|
|
|
|
+ '/user-activation/.*': {
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|
|
@@ -37,11 +37,11 @@ const defaultStrictConfigKey: IApiRateLimitConfig = {
|
|
|
method: 'POST',
|
|
method: 'POST',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|
|
|
- '/download/:id([0-9a-z]{24})': {
|
|
|
|
|
|
|
+ '/download/[0-9a-z]{24}': {
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|
|
|
- '/share/:linkId': {
|
|
|
|
|
|
|
+ '/share/[0-9a-z]{24}': {
|
|
|
method: 'GET',
|
|
method: 'GET',
|
|
|
maxRequests: defaultStrictMaxRequests,
|
|
maxRequests: defaultStrictMaxRequests,
|
|
|
},
|
|
},
|