目录树加载图片不需要Content

This commit is contained in:
xiaoxiaoqiong 2022-03-18 14:55:42 +08:00
parent fe5c18c019
commit 23dc2d7fb6
1 changed files with 1 additions and 1 deletions

View File

@ -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 =