From 3fb3814e234dda20b3b6e4634f74792286a9ab04 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 19 May 2018 23:53:28 +0200 Subject: [PATCH] Fix: Use HTTPs connections this repairs the HTTP401 when importing GPX files Signed-off-by: Knut Ahlers --- osm/osm.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm/osm.go b/osm/osm.go index 82aecbd..35752e9 100644 --- a/osm/osm.go +++ b/osm/osm.go @@ -13,8 +13,8 @@ import ( ) const ( - liveAPIBaseURL = "http://api.openstreetmap.org/api/0.6" - devAPIBaseURL = "http://api06.dev.openstreetmap.org/api/0.6" + liveAPIBaseURL = "https://api.openstreetmap.org/api/0.6" + devAPIBaseURL = "https://api06.dev.openstreetmap.org/api/0.6" ) // Client represents an OSM client which is capable of RW operations on the OpenStreetMap