Merge pull request #2904 from betagouv/change_storage_url

Conf: storage.apientreprise.fr -> static.demarches-simplifiees.fr
This commit is contained in:
LeSim 2018-10-25 17:10:26 +02:00 committed by GitHub
commit ad66c1e30d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ 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"
FOG_BASE_URL = "https://static.demarches-simplifiees.fr"
# External services URLs
DOC_URL = "https://doc.demarches-simplifiees.fr"

View file

@ -6,6 +6,6 @@ describe RemoteDownloader do
subject { described_class.new filename }
describe '#url' do
it { expect(subject.url).to eq 'https://storage.apientreprise.fr/tps_dev/file_name.pdf' }
it { expect(subject.url).to eq 'https://static.demarches-simplifiees.fr/tps_dev/file_name.pdf' }
end
end