1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-04 18:19:54 +00:00

History: Rename the web package

This commit is contained in:
Timur Ismagilov 2022-05-18 20:30:24 +03:00
parent 3e8d1fd161
commit d9e0fa7f7f
5 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
// Package histview provides web stuff for history
package histview
// Package histweb provides web stuff for history
package histweb
import (
"embed"

View File

@ -5,7 +5,7 @@ import (
"github.com/bouncepaw/mycorrhiza/backlinks"
"github.com/bouncepaw/mycorrhiza/categories"
"github.com/bouncepaw/mycorrhiza/help"
"github.com/bouncepaw/mycorrhiza/history/histview"
"github.com/bouncepaw/mycorrhiza/history/histweb"
"github.com/bouncepaw/mycorrhiza/hypview"
"github.com/bouncepaw/mycorrhiza/misc"
"io"
@ -49,13 +49,12 @@ func Handler() http.Handler {
initReaders(wikiRouter)
initMutators(wikiRouter)
initHistory(wikiRouter)
help.InitHandlers(wikiRouter)
backlinks.InitHandlers(wikiRouter)
categories.InitHandlers(wikiRouter)
misc.InitHandlers(wikiRouter)
hypview.Init()
histview.InitHandlers(wikiRouter)
histweb.InitHandlers(wikiRouter)
// Admin routes.
if cfg.UseAuth {