目录树加载图片不需要Content
This commit is contained in:
parent
fe5c18c019
commit
23dc2d7fb6
|
@ -9,7 +9,7 @@ if @project.forge?
|
|||
json.type entry['type']
|
||||
json.size entry['size']
|
||||
|
||||
json.content direct_download ? nil : decode64_content(entry, @owner, @repository, @ref, @path)
|
||||
json.content (direct_download || image_type) ? nil : decode64_content(entry, @owner, @repository, @ref, @path)
|
||||
json.target entry['target']
|
||||
|
||||
download_url =
|
||||
|
|
Loading…
Reference in New Issue