Working Caddy

This commit is contained in:
Henrique Dias
2017-08-20 09:31:24 +01:00
parent c6e6b08305
commit e4d345b7e5
6 changed files with 39 additions and 11 deletions

View File

@@ -201,7 +201,7 @@ func handler() http.Handler {
},
}
err = fm.Load()
err = fm.Setup()
if err != nil {
log.Fatal(err)
}
@@ -231,5 +231,5 @@ func handler() http.Handler {
}
}
return h.ServeHTTP(fm)
return h.Handler(fm)
}