Skip to content

Commit

Permalink
fix production confuguration. #443
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 3, 2020
1 parent eaec6cc commit b3d77bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b3d77bf

Please sign in to comment.