summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 04:53:41 -0600
committerJeff Carr <[email protected]>2025-01-30 19:48:15 -0600
commitad52b03d8f901253f0cf501bd7d9e3d346181f9f (patch)
tree4494d152d2b5e874a22a7ca4cd2c4633ebfae37e
parentaab8d232b5d0d5488cdc6fe6d0c43140a46f1537 (diff)
better filename
-rw-r--r--Makefile1
-rw-r--r--doPatchsets.go (renamed from patchsets.go)0
-rw-r--r--http.go4
3 files changed, 5 insertions, 0 deletions
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
index be1f28f..be1f28f 100644
--- a/patchsets.go
+++ b/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)