1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-01-21 23:56:52 +00:00

Tidy up some more

This commit is contained in:
Mikhail Chekan 2021-10-02 01:34:56 +08:00
parent 85c936d94a
commit ffb43c28ea
3 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ func handlerRobotsTxt(w http.ResponseWriter, rq *http.Request) {
file.Close()
}
// Handler initializes
// Handler initializes and returns the HTTP router based on the configuration.
func Handler() http.Handler {
router := mux.NewRouter()
router.Use(func(next http.Handler) http.Handler {