Skip to content

Commit 28b8189

Browse files
authored
Add doctype to go-get=1 reponse (#3423)
1 parent 3968c11 commit 28b8189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/context/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func Contexter() macaron.Handler {
189189
branchName = repo.DefaultBranch
190190
}
191191
prefix := setting.AppURL + path.Join(ownerName, repoName, "src", "branch", branchName)
192-
c.PlainText(http.StatusOK, []byte(com.Expand(`
192+
c.PlainText(http.StatusOK, []byte(com.Expand(`<!doctype html>
193193
<html>
194194
<head>
195195
<meta name="go-import" content="{GoGetImport} git {CloneLink}">

0 commit comments

Comments
 (0)