Skip to content
代码片段 群组 项目
未验证 提交 593e262e 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Fix 500 on repo archive download

上级 85a15b0e
No related branches found
No related tags found
无相关合并请求
......@@ -22,7 +22,7 @@ def archive
if file_path
# Send file to user
response.headers["Content-Length"] = File.Open(file_path).size.to_s
response.headers["Content-Length"] = File.open(file_path).size.to_s
send_file file_path
else
render_404
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册