From 750bb4976c74114af680e7e60e7c4dc0c0127055 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sat, 19 Oct 2024 18:39:01 +0200 Subject: [PATCH] Add use_https option to geocoder initializer --- config/initializers/geocoder.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/geocoder.rb b/config/initializers/geocoder.rb index f3471f7f..724a0531 100644 --- a/config/initializers/geocoder.rb +++ b/config/initializers/geocoder.rb @@ -5,6 +5,7 @@ settings = { units: DISTANCE_UNIT, cache: Redis.new, always_raise: :all, + use_https: PHOTON_API_USE_HTTPS, cache_options: { expiration: 1.day }