From b00dec4bf6dfc175906c36b7a4bfef2ab7f0dcc5 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Tue, 23 Oct 2018 12:31:21 +0200 Subject: [PATCH] Conf: storage.apientreprise.fr -> static.demarches-simplifiees.fr --- config/initializers/urls.rb | 2 +- spec/uploaders/remote_downloader_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index b1fb77382..ccc345e26 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -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" diff --git a/spec/uploaders/remote_downloader_spec.rb b/spec/uploaders/remote_downloader_spec.rb index 1eee1d6c2..1bcd41ad9 100644 --- a/spec/uploaders/remote_downloader_spec.rb +++ b/spec/uploaders/remote_downloader_spec.rb @@ -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