fixed notfoundhandler

This commit is contained in:
Remco 2014-10-16 22:24:17 +02:00
parent b3f3ff70f3
commit 477e02fa24

View file

@ -102,6 +102,7 @@ func viewHandler(w http.ResponseWriter, r *http.Request) {
} }
func notFoundHandler(w http.ResponseWriter, r *http.Request) { func notFoundHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, http.StatusText(404), 404)
} }
func postHandler(w http.ResponseWriter, r *http.Request) { func postHandler(w http.ResponseWriter, r *http.Request) {