don't dump repomap anymore
This commit is contained in:
parent
305f4d3e41
commit
1579e18f69
7
main.go
7
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
|
||||
|
|
Loading…
Reference in New Issue