change to 404

This commit is contained in:
Paul Tagliamonte 2015-07-28 12:13:16 -04:00
parent b4956ca703
commit 5dd63c90fb

View file

@ -84,7 +84,7 @@ func main() {
if val, ok := routes[route]; ok { if val, ok := routes[route]; ok {
writePageGo(w, req.Host+route, val, 200) writePageGo(w, req.Host+route, val, 200)
} else { } else {
writePageError(w, ":(", 401) writePageError(w, ":(", 404)
} }
}) })
http.ListenAndServe(":8000", mux) http.ListenAndServe(":8000", mux)