diff options
Diffstat (limited to 'routers/web/repo/download.go')
-rw-r--r-- | routers/web/repo/download.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/download.go b/routers/web/repo/download.go index 020cebf196..6f394aae27 100644 --- a/routers/web/repo/download.go +++ b/routers/web/repo/download.go @@ -54,7 +54,7 @@ func ServeBlobOrLFS(ctx *context.Context, blob *git.Blob, lastModified *time.Tim if setting.LFS.Storage.ServeDirect() { // If we have a signed url (S3, object storage, blob storage), redirect to this directly. - u, err := storage.LFS.URL(pointer.RelativePath(), blob.Name(), nil) + u, err := storage.LFS.URL(pointer.RelativePath(), blob.Name(), ctx.Req.Method, nil) if u != nil && err == nil { ctx.Redirect(u.String()) return nil |