mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-03-04 02:28:19 +00:00
commit
b9ce4d6cf6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user