mirror of https://github.com/gogs/gogs.git
pkg/context: add doctype to go-get=1 response (#4938)
parent
2a8a293c7c
commit
7faa2356d8
|
@ -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}">
|
||||
|
|
Loading…
Reference in New Issue