summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 04:06:35 -0500
committerJeff Carr <[email protected]>2025-10-17 04:06:35 -0500
commitb5588034d45ad46642eef6dbd91c4ef5f463a7ff (patch)
tree030a465ae779a0a1f4879c5af33715d978f51b62 /http.go
parent10205f1af9a45215a32b5489331576559df79e07 (diff)
keep removing this stuffv0.23.145
Diffstat (limited to 'http.go')
-rw-r--r--http.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/http.go b/http.go
index 40c5e6f..db54d57 100644
--- a/http.go
+++ b/http.go
@@ -20,14 +20,12 @@ func cleanURL(url string) string {
func okHandler(w http.ResponseWriter, r *http.Request) {
var route string
route = cleanURL(r.URL.Path)
- log.HttpMode(w)
- defer log.HttpMode(nil)
switch route {
case "/releaseList":
- footer := me.forge.PrintHumanTable(me.found)
+ footer := me.found.PrintDefaultTB()
log.Info("me.found len:", me.found.Len())
- log.Info("PrintHumanTable() footer:", footer)
+ log.Info("PrintTable() footer:", footer)
return
default:
log.Info("BAD URL = " + route)