summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-21 08:16:32 -0500
committerJeff Carr <[email protected]>2025-04-21 20:54:33 -0500
commit8eda4cf2da93f736512f2c8ec7f2cc13c47b1345 (patch)
treeabaa19334da8ab1d170013069f1d67cb76f885fe /http.go
parent3cd1f64d15465160770794187ca632953fdd4c86 (diff)
add --daemon
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index 861949b..452ff74 100644
--- a/http.go
+++ b/http.go
@@ -31,7 +31,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
if route == "/uptime" {
ok, s := uptimeCheck()
- fmt.Fprint(w, s)
+ fmt.Fprintln(w, s)
// log.Info(s)
updateUptimeGui(s)
if ok {