mirror of
https://github.com/go-gitea/gitea
synced 2024-07-21 06:11:16 +02:00
commit
a72f57374d
|
@ -330,5 +330,5 @@ func Download(ctx *middleware.Context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+base.ShortSha(commit.ID.String())+ext)
|
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+refName+ext)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user