mirror of https://github.com/statping/statping
				
				
				
			plain txt
							parent
							
								
									78d1555f07
								
							
						
					
					
						commit
						4e15799680
					
				|  | @ -93,7 +93,7 @@ func logsLineHandler(w http.ResponseWriter, r *http.Request) { | |||
| 		return | ||||
| 	} | ||||
| 	if lastLine := utils.GetLastLine(); lastLine != nil { | ||||
| 		w.Header().Set("Content-Type", "plain/text") | ||||
| 		w.Header().Set("Content-Type", "text/plain") | ||||
| 		w.WriteHeader(http.StatusOK) | ||||
| 		w.Write([]byte(lastLine.FormatForHtml())) | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Hunter Long
						Hunter Long