summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/lfs/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/lfs/server.go b/services/lfs/server.go
index 1f82aed54b..a18e752d47 100644
--- a/services/lfs/server.go
+++ b/services/lfs/server.go
@@ -452,7 +452,7 @@ func buildObjectResponse(rc *requestContext, pointer lfs_module.Pointer, downloa
if download {
var link *lfs_module.Link
- if setting.LFS.ServeDirect {
+ if setting.LFS.Storage.MinioConfig.ServeDirect {
// If we have a signed url (S3, object storage), redirect to this directly.
u, err := storage.LFS.URL(pointer.RelativePath(), pointer.Oid)
if u != nil && err == nil {