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) {
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user