Skip to content

Commit 48866d0

Browse files
committed
Allow using http with photon. Helpful when self-hosting.
1 parent 7467752 commit 48866d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/geocoder/lookups/photon.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def name
1010
private # ---------------------------------------------------------------
1111

1212
def supported_protocols
13-
[:https]
13+
[:http, :https]
1414
end
1515

1616
def base_query_url(query)

0 commit comments

Comments
 (0)