plain txt

pull/109/head
Hunter Long 2018-11-30 03:12:17 -08:00
parent 78d1555f07
commit 4e15799680
1 changed files with 1 additions and 1 deletions

View File

@ -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()))
}