Removed println
This commit is contained in:
4
main.go
4
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user