make stripMapping default to true to not change the current functionality

This commit is contained in:
Spencer Gibb
2014-10-17 18:29:21 -06:00
parent 277ada8b88
commit 166ab38882
2 changed files with 2 additions and 1 deletions

View File

@@ -10,5 +10,5 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("zuul.proxy")
public class ZuulProxyProperties {
private String mapping = "/proxy";
private boolean stripMapping = false;
private boolean stripMapping = true; // this is currently the default behaviour
}

View File

@@ -10,6 +10,7 @@ eureka:
zuul:
proxy:
mapping: /api
stripMapping: false
route:
testclient: /api/testing123
stores: /api/stores