From ad52b03d8f901253f0cf501bd7d9e3d346181f9f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 30 Jan 2025 04:53:41 -0600 Subject: [PATCH] better filename --- Makefile | 1 + patchsets.go => doPatchsets.go | 0 http.go | 4 ++++ 3 files changed, 5 insertions(+) rename patchsets.go => doPatchsets.go (100%) diff --git a/Makefile b/Makefile index 10c58d0..0285cf7 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,7 @@ clean: rm -f go.* rm -f go.wit.com rm -f gowebd + go-mod-clean --purge # makes a .deb package debian: diff --git a/patchsets.go b/doPatchsets.go similarity index 100% rename from patchsets.go rename to doPatchsets.go diff --git a/http.go b/http.go index f098827..bc2641e 100644 --- a/http.go +++ b/http.go @@ -82,6 +82,10 @@ func okHandler(w http.ResponseWriter, r *http.Request) { savePatchset(w, msg) return } + if route == "/GetPatchsets" { + doSendPatchsets(w) + return + } if route == "/patchsetlist" { listPatchsets(w)