From 4a539f32db1819407068edfd522f220fa8e98321 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 5 Aug 2015 20:22:23 -0400 Subject: [PATCH] hope I did this swfimages fix right xD --- app/models/swf_asset.rb | 2 +- config/initializers/asset_hosts.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/swf_asset.rb b/app/models/swf_asset.rb index 986956c5..f335ea5a 100644 --- a/app/models/swf_asset.rb +++ b/app/models/swf_asset.rb @@ -93,7 +93,7 @@ class SwfAsset < ActiveRecord::Base host = ASSET_HOSTS[:swf_asset_images] size_key = size.join('x') - "http://#{host}/#{s3_path}/#{size_key}.png?#{image_version}" + "//#{host}/#{s3_path}/#{size_key}.png?#{image_version}" end def images diff --git a/config/initializers/asset_hosts.rb b/config/initializers/asset_hosts.rb index 98910987..0486b260 100644 --- a/config/initializers/asset_hosts.rb +++ b/config/initializers/asset_hosts.rb @@ -1,3 +1,3 @@ ASSET_HOSTS = { - :swf_asset_images => 'swfimages.impress.openneo.net' + :swf_asset_images => 'impress-asset-images.s3.amazonaws.com' }