From 9c5b380105c969a275e92cdc50279258538780b8 Mon Sep 17 00:00:00 2001 From: afischerdev Date: Tue, 6 Feb 2024 17:02:31 +0100 Subject: [PATCH] enabled custum profiles on server --- brouter-server/src/main/java/btools/server/RouteServer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/brouter-server/src/main/java/btools/server/RouteServer.java b/brouter-server/src/main/java/btools/server/RouteServer.java index ba421f9f..0685eac9 100644 --- a/brouter-server/src/main/java/btools/server/RouteServer.java +++ b/brouter-server/src/main/java/btools/server/RouteServer.java @@ -194,6 +194,10 @@ public void run() { if (wplist.size() < 10) { SuspectManager.nearRecentWps.add(wplist); } + if (params.containsKey("profile")) { + // already handled in readRoutingContext + params.remove("profile"); + } int engineMode = 0; if (params.containsKey("engineMode")) { engineMode = Integer.parseInt(params.get("engineMode"));