summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0597e83..ba475fd 100644
--- a/main.go
+++ b/main.go
@@ -52,7 +52,6 @@ func finalHandler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
fmt.Fprintln(w, p.T("Page not found"))
} else {
- w.WriteHeader(http.StatusOK)
templates.Root(nil, c).Render(r.Context(), w)
}
}