Removed println

This commit is contained in:
2022-01-31 11:58:03 +01:00
parent 6dd8d48f35
commit 7a511dd35c

View File

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