summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-23 17:01:22 -0600
committerJeff Carr <[email protected]>2025-03-04 05:00:46 -0600
commit30a5eb56a210c28feca0098fd9e6dc340f494b9f (patch)
treebb3e3c4a5fabc8c534ff5395fd027223e7a2a29b /http.go
parent01d7e92cdbd2221bd54702126af256828cff29dc (diff)
display status and uptimev0.2.42v0.2.41v0.2.40v0.2.39
Diffstat (limited to 'http.go')
-rw-r--r--http.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/http.go b/http.go
index fd7f5c3..bb5ad24 100644
--- a/http.go
+++ b/http.go
@@ -31,7 +31,9 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
if route == "/uptime" {
ok, s := uptimeCheck()
- log.Info(s)
+ fmt.Fprint(w, s)
+ // log.Info(s)
+ updateUptimeGui(s)
if ok {
// log.Info("Handling URL:", route, "cluster is ok")
} else {