yu199195 commented on code in PR #4259:
URL: https://github.com/apache/shenyu/pull/4259#discussion_r1046593589
##########
shenyu-web/src/main/java/org/apache/shenyu/web/configuration/ShenyuExtConfiguration.java:
##########
@@ -50,7 +51,6 @@ public ShenyuResult<?> shenyuResult() {
@Bean
@ConditionalOnMissingBean(value = RemoteAddressResolver.class, search =
SearchStrategy.ALL)
public RemoteAddressResolver remoteAddressResolver() {
- return new RemoteAddressResolver() {
- };
+ return new ForwardedRemoteAddressResolver(1);
Review Comment:
you can remove this (modify this pr)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]