index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
pkg
/
context
/
context.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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/context/context.go
parent
2a8a293c7c6175106652ca8946b4a0a8b1a13650
(
diff
)
pkg/context: add doctype to go-get=1 response (#4938)
Diffstat
(limited to 'pkg/context/context.go')
-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}">