hope I did this swfimages fix right xD

This commit is contained in:
Matchu 2015-08-05 20:22:23 -04:00
parent b11d7a8c9c
commit 4a539f32db
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -1,3 +1,3 @@
ASSET_HOSTS = {
:swf_asset_images => 'swfimages.impress.openneo.net'
:swf_asset_images => 'impress-asset-images.s3.amazonaws.com'
}