mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Merge pull request #746 from gozssky/patch-1
Fix charset typo in swagger.go
This commit is contained in:
		
						commit
						61bb6292b7
					
				@ -83,7 +83,7 @@ func SwaggerAPIv1(
 | 
			
		||||
	writer http.ResponseWriter,
 | 
			
		||||
	req *http.Request,
 | 
			
		||||
) {
 | 
			
		||||
	writer.Header().Set("Content-Type", "application/json; charset=utf-88")
 | 
			
		||||
	writer.Header().Set("Content-Type", "application/json; charset=utf-8")
 | 
			
		||||
	writer.WriteHeader(http.StatusOK)
 | 
			
		||||
	if _, err := writer.Write(apiV1JSON); err != nil {
 | 
			
		||||
		log.Error().
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user