Skip to content

Commit

Permalink
removed leftover from early debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Aug 25, 2023
1 parent 3c84f22 commit dd2d909
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions handlers/404.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ func handleHTTPError(err error, handler func(http.ResponseWriter, *http.Request)
func NotFound(w http.ResponseWriter, r *http.Request) {
templateFiles := append(layoutTemplateFiles, "_layout/404.html")
notFoundTemplate := templates.GetTemplate(templateFiles...)
fmt.Printf("Error page\n")

w.Header().Set("Content-Type", "text/html")
w.WriteHeader(http.StatusNotFound)
data := InitPageData(w, r, "blockchain", r.URL.Path, "Not Found", templateFiles)
Expand Down

0 comments on commit dd2d909

Please sign in to comment.