From 48866d0a54a641b74a33f34067a49b1c93168b0a Mon Sep 17 00:00:00 2001 From: Christen Lofland Date: Thu, 3 Oct 2024 09:11:33 -0500 Subject: [PATCH] Allow using http with photon. Helpful when self-hosting. --- lib/geocoder/lookups/photon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/geocoder/lookups/photon.rb b/lib/geocoder/lookups/photon.rb index 29ad92684..42919af93 100644 --- a/lib/geocoder/lookups/photon.rb +++ b/lib/geocoder/lookups/photon.rb @@ -10,7 +10,7 @@ def name private # --------------------------------------------------------------- def supported_protocols - [:https] + [:http, :https] end def base_query_url(query)