We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d7079 commit 610d426Copy full SHA for 610d426
web-bundle/src/main/java/com/graphhopper/resources/RouteResource.java
@@ -187,7 +187,7 @@ public Response doGet(
187
@Produces(MediaType.APPLICATION_JSON)
188
public Response doPost(@NotNull GHRequest request, @Context HttpServletRequest httpReq) {
189
if (!request.hasSnapPreventions())
190
- request.setSnapPreventions(List.of("tunnel", "bridge", "ferry"));
+ request.setSnapPreventions(snapPreventionsDefault);
191
192
StopWatch sw = new StopWatch().start();
193
request = ghRequestTransformer.transformRequest(request);
0 commit comments