Skip to content

Commit 610d426

Browse files
committed
1 parent 85d7079 commit 610d426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-bundle/src/main/java/com/graphhopper/resources/RouteResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public Response doGet(
187187
@Produces(MediaType.APPLICATION_JSON)
188188
public Response doPost(@NotNull GHRequest request, @Context HttpServletRequest httpReq) {
189189
if (!request.hasSnapPreventions())
190-
request.setSnapPreventions(List.of("tunnel", "bridge", "ferry"));
190+
request.setSnapPreventions(snapPreventionsDefault);
191191

192192
StopWatch sw = new StopWatch().start();
193193
request = ghRequestTransformer.transformRequest(request);

0 commit comments

Comments
 (0)