Skip to content

Commit

Permalink
kept just 127.0.0.1 as the ip address in the whitelist as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Camelia-Orcid committed Nov 5, 2024
1 parent de0b2cb commit 14fcac9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class ApiRateLimitFilter extends OncePerRequestFilter {
@Value("${org.orcid.persistence.panoply.papiExceededRate.production:false}")
private boolean enablePanoplyPapiExceededRateInProduction;

@Value("${org.orcid.papi.rate.limit.ip.whiteSpaceSeparatedWhiteList:1.1.1.1 127.0.0.1}")
@Value("${org.orcid.papi.rate.limit.ip.whiteSpaceSeparatedWhiteList:127.0.0.1}")
private String papiWhiteSpaceSeparatedWhiteList;

private static final String TOO_MANY_REQUESTS_MSG = "Too Many Requests - You have exceeded the daily allowance of API calls.\\n"
Expand Down

0 comments on commit 14fcac9

Please sign in to comment.