This commit is contained in:
yystopf 2021-07-16 16:42:30 +08:00
parent a543c3e08f
commit d4b9881f2d
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ module RepositoriesHelper
puts "##### render_download_image_url file_path: #{file_path}"
base64_to_image(file_path, content)
file_path = file_path.split('public')[1]
file_path = file_path[6..-1]
File.join(base_url, file_path)
end