mirror of https://github.com/statping/statping
parent
d4e0497759
commit
78d1555f07
|
@ -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()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.79.93
|
0.79.94
|
Loading…
Reference in New Issue