Add doctype to go-get=1 reponse (#3423)
This commit is contained in:
		
					parent
					
						
							
								3968c1149e
							
						
					
				
			
			
				commit
				
					
						28b81899d0
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -189,7 +189,7 @@ func Contexter() macaron.Handler {
 | 
				
			||||||
				branchName = repo.DefaultBranch
 | 
									branchName = repo.DefaultBranch
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			prefix := setting.AppURL + path.Join(ownerName, repoName, "src", "branch", branchName)
 | 
								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>
 | 
					<html>
 | 
				
			||||||
	<head>
 | 
						<head>
 | 
				
			||||||
		<meta name="go-import" content="{GoGetImport} git {CloneLink}">
 | 
							<meta name="go-import" content="{GoGetImport} git {CloneLink}">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue