Skip to content

Commit

Permalink
add the s3 host name to paperclip config
Browse files Browse the repository at this point in the history
  • Loading branch information
birarda committed Sep 11, 2016
1 parent 0bf826c commit 0fcffaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/environments/development.rb
Expand Up @@ -46,6 +46,7 @@
url: ':s3_alias_url',
s3_host_alias: 'static-dev.greatpass.io',
s3_region: 'us-west-1',
s3_host_name: 's3-us-west-1.amazonaws.com',
s3_credentials: {
bucket: 'greatpass-dev',
access_key_id: ENV['GP_AWS_ACCESS_KEY_ID'],
Expand Down
1 change: 1 addition & 0 deletions config/environments/production.rb
Expand Up @@ -80,6 +80,7 @@
url: ':s3_alias_url',
s3_host_alias: 'static.greatpass.io',
s3_region: 'us-west-1',
s3_host_name: 's3-us-west-1.amazonaws.com',
s3_credentials: {
bucket: 'greatpass',
access_key_id: ENV['GP_AWS_ACCESS_KEY_ID'],
Expand Down

0 comments on commit 0fcffaf

Please sign in to comment.