Skip to content

Commit

Permalink
add default value to KeyResolver
Browse files Browse the repository at this point in the history
  • Loading branch information
kishkinova committed Nov 5, 2024
1 parent 551a2f7 commit 010e81b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Component
public class KeyResolver implements org.springframework.cloud.gateway.filter.ratelimit.KeyResolver {

@Value("${apiml.gateway.routing.cookieNameForRateLimit:-}")
@Value("${apiml.gateway.routing.cookieNameForRateLimit:apimlAuthenticationToken}")
private String cookieName;

@Override
Expand Down

0 comments on commit 010e81b

Please sign in to comment.