mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-18 16:25:10 +00:00
Tidy up indexing routine (a little bit)
This commit is contained in:
@@ -94,7 +94,6 @@ func handlerReindex(w http.ResponseWriter, rq *http.Request) {
|
||||
hyphae.ResetCount()
|
||||
log.Println("Reindexing hyphae in", files.HyphaeDir())
|
||||
hyphae.Index(files.HyphaeDir())
|
||||
log.Println("Indexed", hyphae.Count(), "hyphae")
|
||||
http.Redirect(w, rq, "/", http.StatusSeeOther)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user