1
0
Fork 0
forked from forgejo/forgejo

Fix go-get, src and raw urls to new scheme (#2978)

This commit is contained in:
Lauris BH 2017-11-27 02:58:54 +02:00 committed by GitHub
parent fb5c6b6444
commit 0d4c63fd70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View file

@ -182,7 +182,7 @@ func Contexter() macaron.Handler {
branchName = repo.DefaultBranch
}
}
prefix := setting.AppURL + path.Join(ownerName, repoName, "src", branchName)
prefix := setting.AppURL + path.Join(ownerName, repoName, "src", "branch", branchName)
c.PlainText(http.StatusOK, []byte(com.Expand(`
<html>
<head>