From e500dadeddb0c3c14b26c562f8f22b5012ee6888 Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Fri, 23 Dec 2016 16:18:31 +0800 Subject: [PATCH] format error page --- handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler.go b/handler.go index a1c984e..e2a0ed6 100644 --- a/handler.go +++ b/handler.go @@ -36,7 +36,7 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if !h.enableProxy { w.WriteHeader(http.StatusNotFound) - fmt.Fprintf(w, "

page not found!

") + fmt.Fprintf(w, "

404 Not Found

") return }