aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/git-lfs-server
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/git-lfs-server')
-rw-r--r--cmd/git-lfs-server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index c5b47a3..fc32f41 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -141,7 +141,7 @@ func makeObjError(obj parsedBatchObject, message string, code int) batchResponse
141} 141}
142 142
143func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj parsedBatchObject) batchResponseObject { 143func (h *handler) handleDownloadObject(ctx context.Context, repo string, obj parsedBatchObject) batchResponseObject {
144 fullPath := path.Join(repo, obj.firstByte, obj.secondByte, obj.fullHash) 144 fullPath := path.Join(repo, "lfs/objects", obj.firstByte, obj.secondByte, obj.fullHash)
145 expiresIn := time.Hour * 24 145 expiresIn := time.Hour * 24
146 expiresInSeconds := SecondDuration(expiresIn) 146 expiresInSeconds := SecondDuration(expiresIn)
147 147