logs for app

pull/109/head v0.79.94
Hunter Long 2018-11-29 21:31:20 -08:00
parent d4e0497759
commit 78d1555f07
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,8 @@ func logsLineHandler(w http.ResponseWriter, r *http.Request) {
return return
} }
if lastLine := utils.GetLastLine(); lastLine != nil { if lastLine := utils.GetLastLine(); lastLine != nil {
w.Header().Set("Content-Type", "plain/text")
w.WriteHeader(http.StatusOK)
w.Write([]byte(lastLine.FormatForHtml())) w.Write([]byte(lastLine.FormatForHtml()))
} }
} }

View File

@ -1 +1 @@
0.79.93 0.79.94