don't dump repomap anymore

This commit is contained in:
Jeff Carr 2024-11-14 21:47:34 -06:00
parent 305f4d3e41
commit 1579e18f69
1 changed files with 0 additions and 7 deletions

View File

@ -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