Working Caddy

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

No files matched your search

+2 -2
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)
}