Browse Source

Merge pull request #55 from simonparadies/patch-1

Corrected typo to enable https routing
pull/62/head
Spencer Gibb 7 years ago committed by GitHub
parent
commit
089ffe88d9
  1. 2
      spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java

2
spring-cloud-gateway-core/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java

@ -65,7 +65,7 @@ public class NettyRoutingFilter implements GlobalFilter, Ordered { @@ -65,7 +65,7 @@ public class NettyRoutingFilter implements GlobalFilter, Ordered {
URI requestUrl = exchange.getRequiredAttribute(GATEWAY_REQUEST_URL_ATTR);
String scheme = requestUrl.getScheme();
if (!scheme.equals("http") && !scheme.equals("https)")) {
if (!scheme.equals("http") && !scheme.equals("https")) {
return chain.filter(exchange);
}

Loading…
Cancel
Save