summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-14 21:47:34 -0600
committerJeff Carr <[email protected]>2024-11-14 21:47:34 -0600
commit1579e18f699d054a331b670be64af6ff0f941cae (patch)
treeb1f0f4c3de1c5712907be206c6f271c94ed3cbfd /main.go
parent305f4d3e4111aba1acdddb43be701a49bf02d803 (diff)
don't dump repomap anymorev0.22.4
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/main.go b/main.go
index f34ba16..e3eec28 100644
--- a/main.go
+++ b/main.go
@@ -82,9 +82,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, j)
return
}
- if tmp == "/update" {
- return
- }
if tmp == "/register" {
regfile, _ := os.OpenFile("/home/jcarr/regfile.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if registerClient(regfile, r) {
@@ -94,10 +91,6 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
}
return
}
- if tmp == "/list" {
- writeFile(w, "repomap")
- return
- }
if tmp == "/test" {
writeFile(w, "test.html")
return