Skip to content

Commit

Permalink
Merge pull request #2504 from betagouv/new-url
Browse files Browse the repository at this point in the history
Remove an env var
  • Loading branch information
gregoirenovel authored Sep 3, 2018
2 parents 994ecf8 + df74242 commit c94c6b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/uploaders/remote_downloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ def url
protected

def base_url
Rails.application.secrets.fog[:base_url]
FOG_BASE_URL
end
end
3 changes: 3 additions & 0 deletions config/initializers/urls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
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("/")
Expand Down

0 comments on commit c94c6b8

Please sign in to comment.