diff options
author | Drahoslav Bednář <Drahoslav@yo2.cz> | 2018-03-06 22:43:48 +0100 |
---|---|---|
committer | jc <u@gogs.io> | 2018-03-06 16:43:48 -0500 |
commit | 7faa2356d8e9b3266807d978d9c9eafdbf763182 (patch) | |
tree | ca4580fc2f6a760e24be9f7923b392cb3651b29f /pkg | |
parent | 2a8a293c7c6175106652ca8946b4a0a8b1a13650 (diff) |
pkg/context: add doctype to go-get=1 response (#4938)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go index 1457b696..ed97395b 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -244,7 +244,7 @@ func Contexter() macaron.Handler { } prefix := setting.AppURL + path.Join(ownerName, repoName, "src", 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}"> |