mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-05-10 02:04:05 +00:00
Tidy up some more
This commit is contained in:
parent
85c936d94a
commit
ffb43c28ea
@ -74,7 +74,7 @@ func handlerRobotsTxt(w http.ResponseWriter, rq *http.Request) {
|
|||||||
file.Close()
|
file.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handler initializes
|
// Handler initializes and returns the HTTP router based on the configuration.
|
||||||
func Handler() http.Handler {
|
func Handler() http.Handler {
|
||||||
router := mux.NewRouter()
|
router := mux.NewRouter()
|
||||||
router.Use(func(next http.Handler) http.Handler {
|
router.Use(func(next http.Handler) http.Handler {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user