diff --git a/main.go b/main.go index be04ee5..7fed2c0 100644 --- a/main.go +++ b/main.go @@ -62,9 +62,7 @@ func setupFrontend(r *mux.Router) { r.PathPrefix("/").HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if path.Join(config.Prefix)+"/" == r.URL.Path { - if err := landingpage.Execute(w, config.PageBase); err != nil { - fmt.Println(err) - } + landingpage.Execute(w, config.PageBase) } else { server.Error404(w, r) }