note found handler

This commit is contained in:
emile 2015-09-16 22:41:01 +02:00
parent 2d645c83a6
commit 7b96decf17
2 changed files with 7 additions and 6 deletions

View file

@ -170,7 +170,8 @@ func main() {
}
func notFoundHandler(w http.ResponseWriter, r *http.Request) {
templatesRenderer.HTML(w, http.StatusNotFound, "notFound", nil)
http.NotFound(w, r)
//templatesRenderer.HTML(w, http.StatusNotFound, "notFound", nil)
}
func LoadDefaultConfig(gloablConfiguration *GlobalConfiguration) *mux.Router {