mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 03:55:58 +01:00
Fixed file download.
This commit is contained in:
@@ -155,7 +155,7 @@ class RepositoryViewerController extends ControllerBase {
|
|||||||
if(raw){
|
if(raw){
|
||||||
// Download
|
// Download
|
||||||
contentType = "application/octet-stream"
|
contentType = "application/octet-stream"
|
||||||
JGitUtil.getContent(git, objectId, false)
|
JGitUtil.getContent(git, objectId, false).get
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// Viewer
|
// Viewer
|
||||||
|
|||||||
Reference in New Issue
Block a user