mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Add doctype to go-get=1 reponse (#3423)
This commit is contained in:
		@@ -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}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user