1
0
Fork 0
mirror of https://github.com/Luzifer/gpxhydrant.git synced 2024-12-23 04:31:18 +00:00

Fix: Use HTTPs connections

this repairs the HTTP401 when importing GPX files

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-05-19 23:53:28 +02:00
parent 21a69d54d9
commit 3fb3814e23
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -13,8 +13,8 @@ import (
) )
const ( const (
liveAPIBaseURL = "http://api.openstreetmap.org/api/0.6" liveAPIBaseURL = "https://api.openstreetmap.org/api/0.6"
devAPIBaseURL = "http://api06.dev.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 // Client represents an OSM client which is capable of RW operations on the OpenStreetMap