note found handler
This commit is contained in:
parent
2d645c83a6
commit
7b96decf17
2 changed files with 7 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue