added params in timeoutdata

This commit is contained in:
afischerdev 2025-06-30 12:36:30 +02:00
parent 5e68bfdf69
commit ac7ddddb62
2 changed files with 22 additions and 0 deletions

View file

@ -221,6 +221,14 @@ public class BRouterWorker {
bw.write("\n");
writeWPList(bw, waypoints);
writeWPList(bw, rc.nogopoints);
if (rc.keyValues != null) {
StringBuilder sb = new StringBuilder();
for (Map.Entry<String, String> e : rc.keyValues.entrySet()) {
sb.append(sb.length()>0 ? "&" : "").append(e.getKey()).append("=").append(e.getValue());
}
bw.write(sb.toString());
bw.write("\n");
}
bw.close();
}