From e5b7d81f890fc54c55c7a12e782a98b6ad2b23b5 Mon Sep 17 00:00:00 2001 From: stephan75 Date: Fri, 10 Aug 2018 22:05:38 +0200 Subject: [PATCH] http -> https edited http into https for quering the OSM api ... hope this edit is enough, or still something missing? --- src/dk/network42/osmfocus/OsmServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dk/network42/osmfocus/OsmServer.java b/src/dk/network42/osmfocus/OsmServer.java index 4d7fe4e..5b0c30c 100644 --- a/src/dk/network42/osmfocus/OsmServer.java +++ b/src/dk/network42/osmfocus/OsmServer.java @@ -19,7 +19,7 @@ public class OsmServer { static private final int SERVER_CONNECT_TIMEOUT_MS = 30*1000; static private final int API_TIMEOUT_MS = 10*1000; static final int API_MAX_DOWNLOAD_DEGREES = (int) 1E7/4; - static private final String DEFAULT_API_URL = "http://api.openstreetmap.org/api/"+API_VERSION+"/"; + static private final String DEFAULT_API_URL = "https://api.openstreetmap.org/api/"+API_VERSION+"/"; private final String mApiUrl; private final String mAgent;