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