mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
前端的修复及文件下载后缀的扩展
This commit is contained in:
@@ -5,7 +5,7 @@ module RepositoriesHelper
|
||||
end
|
||||
|
||||
def download_type(str)
|
||||
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe)
|
||||
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe pdb obj idb)
|
||||
default_type.include?(str)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user