Commit 166ab388 by Spencer Gibb

make stripMapping default to true to not change the current functionality

parent 277ada8b
...@@ -10,5 +10,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -10,5 +10,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("zuul.proxy") @ConfigurationProperties("zuul.proxy")
public class ZuulProxyProperties { public class ZuulProxyProperties {
private String mapping = "/proxy"; private String mapping = "/proxy";
private boolean stripMapping = false; private boolean stripMapping = true; // this is currently the default behaviour
} }
...@@ -10,6 +10,7 @@ eureka: ...@@ -10,6 +10,7 @@ eureka:
zuul: zuul:
proxy: proxy:
mapping: /api mapping: /api
stripMapping: false
route: route:
testclient: /api/testing123 testclient: /api/testing123
stores: /api/stores stores: /api/stores
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment