Merge pull request #2504 from betagouv/new-url

Remove an env var
This commit is contained in:
gregoirenovel 2018-09-03 16:16:18 +02:00 committed by GitHub
commit c94c6b8fad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,6 @@ class RemoteDownloader
protected
def base_url
Rails.application.secrets.fog[:base_url]
FOG_BASE_URL
end
end

View file

@ -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("/")