fix: Parse Server option rateLimit.zone does not use default value ip (#9941)
This commit is contained in:
@@ -690,7 +690,8 @@ module.exports.RateLimitOptions = {
|
||||
zone: {
|
||||
env: 'PARSE_SERVER_RATE_LIMIT_ZONE',
|
||||
help:
|
||||
"The type of rate limit to apply. The following types are supported:<br><br>- `global`: rate limit based on the number of requests made by all users <br>- `ip`: rate limit based on the IP address of the request <br>- `user`: rate limit based on the user ID of the request <br>- `session`: rate limit based on the session token of the request <br><br><br>:default: 'ip'",
|
||||
'The type of rate limit to apply. The following types are supported:<ul><li>`global`: rate limit based on the number of requests made by all users</li><li>`ip`: rate limit based on the IP address of the request</li><li>`user`: rate limit based on the user ID of the request</li><li>`session`: rate limit based on the session token of the request</li></ul>Default is `ip`.',
|
||||
default: 'ip',
|
||||
},
|
||||
};
|
||||
module.exports.SecurityOptions = {
|
||||
|
||||
Reference in New Issue
Block a user