diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/release.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go index e3386d074f..dde6c17ea8 100644 --- a/models/release.go +++ b/models/release.go @@ -65,7 +65,7 @@ func (r *Release) LoadAttributes() error { // APIURL the api url for a release. release must have attributes loaded func (r *Release) APIURL() string { - return fmt.Sprintf("%sapi/v1/%s/releases/%d", + return fmt.Sprintf("%sapi/v1/repos/%s/releases/%d", setting.AppURL, r.Repo.FullName(), r.ID) } |