fix: Parse Server option rateLimit.zone does not use default value ip (#9941)

This commit is contained in:
Manuel
2025-11-23 14:09:25 +01:00
committed by GitHub
parent 0ff97793cd
commit 12beb8f6ee
3 changed files with 12 additions and 12 deletions

View File

@@ -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 = {