diff options
author | Dave Arter <davea@mysociety.org> | 2019-12-13 14:49:03 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-12-13 14:49:03 +0000 |
commit | 8de13fb4e6c26a31e43fff41a69c930c95096c92 (patch) | |
tree | b29ee08ae728db53f014c83d7f5d485dbe218073 | |
parent | 5357f62b8ac94cf691605d3b66cbf0645295f9dd (diff) |
Switch OSM geocoder URLs to HTTPS
Saves a HTTP->HTTPS redirect when doing street name lookup from front page
-rw-r--r-- | perllib/FixMyStreet/Geocode/OSM.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Geocode/OSM.pm b/perllib/FixMyStreet/Geocode/OSM.pm index 6e6dbfbb1..b979e2a10 100644 --- a/perllib/FixMyStreet/Geocode/OSM.pm +++ b/perllib/FixMyStreet/Geocode/OSM.pm @@ -14,8 +14,8 @@ use Memcached; use XML::Simple; use Utils; -my $osmapibase = "http://www.openstreetmap.org/api/"; -my $nominatimbase = "http://nominatim.openstreetmap.org/"; +my $osmapibase = "https://www.openstreetmap.org/api/"; +my $nominatimbase = "https://nominatim.openstreetmap.org/"; # string STRING CONTEXT # Looks up on Nominatim, and caches, a user-inputted location. |