aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lfs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lfs')
-rw-r--r--modules/lfs/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lfs/server.go b/modules/lfs/server.go
index 474a3f56c3..329d6f00c4 100644
--- a/modules/lfs/server.go
+++ b/modules/lfs/server.go
@@ -68,12 +68,12 @@ type ObjectError struct {
// ObjectLink builds a URL linking to the object.
func (v *RequestVars) ObjectLink() string {
- return setting.AppURL + path.Join(v.User, v.Repo, "info/lfs/objects", v.Oid)
+ return setting.AppURL + path.Join(v.User, v.Repo+".git", "info/lfs/objects", v.Oid)
}
// VerifyLink builds a URL for verifying the object.
func (v *RequestVars) VerifyLink() string {
- return setting.AppURL + path.Join(v.User, v.Repo, "info/lfs/verify")
+ return setting.AppURL + path.Join(v.User, v.Repo+".git", "info/lfs/verify")
}
// link provides a structure used to build a hypermedia representation of an HTTP link.