diff --git a/climate-server.go b/climate-server.go index ea688b7..ff0895a 100644 --- a/climate-server.go +++ b/climate-server.go @@ -52,9 +52,8 @@ func showCharts(w http.ResponseWriter, r *http.Request) { if _, err := strconv.ParseInt(countStr, 10, 0); err != nil { http.Redirect(w, r, "/", 303) } - } else { - http.ServeFile(w, r, "charts.html") } + http.ServeFile(w, r, "charts.html") } func sendData(w http.ResponseWriter, r *http.Request) {