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
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>