hope I did this swfimages fix right xD
This commit is contained in:
parent
b11d7a8c9c
commit
4a539f32db
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
ASSET_HOSTS = {
|
||||
:swf_asset_images => 'swfimages.impress.openneo.net'
|
||||
:swf_asset_images => 'impress-asset-images.s3.amazonaws.com'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue