From 7a511dd35cd2ee45205afe970b21ad580f1b915f Mon Sep 17 00:00:00 2001 From: bytedream Date: Mon, 31 Jan 2022 11:58:03 +0100 Subject: [PATCH] Removed println --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) }