Skip to content

Commit 7856708

Browse files
committed
Force https on BAN lookup
1 parent 5bec3c7 commit 7856708

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/geocoder/lookups/ban_data_gouv_fr.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ def map_link_url(coordinates)
1414
"https://www.openstreetmap.org/#map=19/#{coordinates.join('/')}"
1515
end
1616

17+
def supported_protocols
18+
[:https]
19+
end
20+
1721
private # ---------------------------------------------------------------
1822

1923
def base_query_url(query)

0 commit comments

Comments
 (0)