1
0
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:
Timur Ismagilov
2021-06-15 01:30:17 +05:00
parent b4e0ff2e34
commit 839b1e2448
9 changed files with 18 additions and 18 deletions

View File

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