From b3d77bf105b5618dc871ddec894e63cc878b56cb Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 3 Mar 2020 15:28:06 +0100 Subject: [PATCH] fix production confuguration. #443 --- config/environments/production.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index dc70baa48..73ce92b91 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -63,9 +63,8 @@ config.paperclip_defaults = { storage: :s3, - url: "https://assets.datacite.org/images/members/:filename", - s3_protocol: :https, - s3_host_alias: "sub.domain.com", + s3_protocol: "https", + s3_host_alias: "assets.datacite.org", url: ":s3_alias_url", path: "/images/members/:filename", preserve_files: true,