Skip to content

Commit

Permalink
fix amazon default image to https
Browse files Browse the repository at this point in the history
  • Loading branch information
tdtds committed May 16, 2019
1 parent 942bcb4 commit 8959957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/plugin/amazon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def amazon_image( item )
image[:height] = item.nodes("#{node_prefix}/Height")[0].text
image[:width] = item.nodes("#{node_prefix}/Width")[0].text
rescue
base = @conf['amazon.default_image_base'] || 'http://tdiary.github.io/tdiary-theme/plugin/amazon/'
base = @conf['amazon.default_image_base'] || 'https://tdiary.github.io/tdiary-theme/plugin/amazon/'
case @conf['amazon.imgsize']
when 0
image[:src] = "#{base}large.png"
Expand Down

0 comments on commit 8959957

Please sign in to comment.