diff --git a/main.go b/main.go index e103ee0..7256502 100644 --- a/main.go +++ b/main.go @@ -784,5 +784,6 @@ func errorhtml(w http.ResponseWriter, r *http.Request) { ` w.Header().Set("Content-Type", "text/html; charset=utf-8") + w.WriteHeader(http.StatusForbidden) _, _ = w.Write([]byte(html)) }