mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-11-15 23:07:12 +00:00
Rename WikiDir to WikiGitDir
Rhymes well with the forecoming Structure.
This commit is contained in:
@@ -38,9 +38,9 @@ func handlerReindex(w http.ResponseWriter, rq *http.Request) {
|
||||
return
|
||||
}
|
||||
hyphae.ResetCount()
|
||||
log.Println("Wiki storage directory is", cfg.WikiDir)
|
||||
log.Println("Wiki storage directory is", cfg.WikiGitDir)
|
||||
log.Println("Start indexing hyphae...")
|
||||
hyphae.Index(cfg.WikiDir)
|
||||
hyphae.Index(cfg.WikiGitDir)
|
||||
log.Println("Indexed", hyphae.Count(), "hyphae")
|
||||
http.Redirect(w, rq, "/", http.StatusSeeOther)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user