diff options
| author | Jeff Carr <[email protected]> | 2024-11-14 21:47:34 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-14 21:47:34 -0600 |
| commit | 1579e18f699d054a331b670be64af6ff0f941cae (patch) | |
| tree | b1f0f4c3de1c5712907be206c6f271c94ed3cbfd /main.go | |
| parent | 305f4d3e4111aba1acdddb43be701a49bf02d803 (diff) | |
don't dump repomap anymorev0.22.4
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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 |
