diff --git a/app/uploaders/remote_downloader.rb b/app/uploaders/remote_downloader.rb index 73aef5579..1e6dbcd66 100644 --- a/app/uploaders/remote_downloader.rb +++ b/app/uploaders/remote_downloader.rb @@ -10,6 +10,6 @@ class RemoteDownloader protected def base_url - Rails.application.secrets.fog[:base_url] + FOG_BASE_URL end end diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index aa4624896..156397c6b 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -5,6 +5,9 @@ API_GEO_URL = "https://geo.api.gouv.fr" HELPSCOUT_API_URL = 'https://api.helpscout.net/v2' PIPEDRIVE_API_URL = 'https://api.pipedrive.com/v1' +# Internal URLs +FOG_BASE_URL = 'https://storage.apientreprise.fr' + # External services URLs DOC_URL = "https://doc.demarches-simplifiees.fr" LISTE_DES_DEMARCHES_URL = [DOC_URL, "listes-des-demarches"].join("/")