Changed endpoints and db queries, chart now shows suggested mins and maxes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user