Merge branch 'master' of github.com:r888888888/danbooru

This commit is contained in:
Albert Yi
2018-03-28 17:19:35 -07:00
2 changed files with 11 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ class StorageManager
elsif type == :large && post.has_large?
"#{base_url}/sample/#{subdir}#{seo_tags(post)}#{file}"
else
"#{base_url}/#{subdir}#{seo_tags(post)}#{file}"
"#{base_url}/#{subdir}#{seo_tags(post)}#{post.md5}.#{post.file_ext}"
end
end