summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)