diff options
author | Lauris BH <lauris@nix.lv> | 2018-01-29 03:12:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 03:12:04 +0200 |
commit | 28b81899d03301bdc9f7a9b453b7d467ee18ff8e (patch) | |
tree | 54f41f26b68aa4029f1e8812a73cb308de4e6778 /modules/context | |
parent | 3968c1149ea84506552a0c343f3be8eab2fcfc18 (diff) | |
download | gitea-28b81899d03301bdc9f7a9b453b7d467ee18ff8e.tar.gz gitea-28b81899d03301bdc9f7a9b453b7d467ee18ff8e.zip |
Add doctype to go-get=1 reponse (#3423)
Diffstat (limited to 'modules/context')
-rw-r--r-- | modules/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/context.go b/modules/context/context.go index e69094863d..77128b8780 100644 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -189,7 +189,7 @@ func Contexter() macaron.Handler { branchName = repo.DefaultBranch } prefix := setting.AppURL + path.Join(ownerName, repoName, "src", "branch", branchName) - c.PlainText(http.StatusOK, []byte(com.Expand(` + c.PlainText(http.StatusOK, []byte(com.Expand(`<!doctype html> <html> <head> <meta name="go-import" content="{GoGetImport} git {CloneLink}"> |