From a025f91a4afb8131643aee04a83c1f058e78c90a Mon Sep 17 00:00:00 2001 From: sa-es-ir Date: Sun, 16 Apr 2023 11:59:07 +0700 Subject: [PATCH] fix typeo --- demo/DotNet.RateLimiter.Demo/appsettings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/DotNet.RateLimiter.Demo/appsettings.json b/demo/DotNet.RateLimiter.Demo/appsettings.json index fd91e12..210d5a8 100644 --- a/demo/DotNet.RateLimiter.Demo/appsettings.json +++ b/demo/DotNet.RateLimiter.Demo/appsettings.json @@ -10,10 +10,10 @@ "EnableRateLimit": true, //Optional: if set false rate limit will disable, default is true "HttpStatusCode": 429, //Optional: default is 429 "ErrorMessage": "Rate limit Exceeded", //Optional: default is Rate limit Exceeded - "IpHeaderName": "X-Forwarded-For" //Optional: header name for get Ip address, default is X-Forwarded-For + "IpHeaderName": "X-Forwarded-For" //Optional: header name for getting Ip address, default is X-Forwarded-For //,"RedisConnection": "127.0.0.1:6379" //"IpWhiteList": ["::1"], - //"ClientIdentifier": "X-Client-Id" // for get client id from request header if this present the rate limit will not use IP for limit requests + //"ClientIdentifier": "X-Client-Id" // for getting client id from request header if this present the rate limit will not use IP for limit requests //"ClientIdentifierWhiteList": ["test-client"] } }