diff --git a/climate-server.go b/climate-server.go index 8ac1a94..40afed2 100644 --- a/climate-server.go +++ b/climate-server.go @@ -61,7 +61,7 @@ func sendData(w http.ResponseWriter, r *http.Request) { if vars := mux.Vars(r); vars["mins"] != "" { newCount, err := strconv.ParseInt(vars["mins"], 10, 0) if err != nil { - http.Redirect(w, r, ROOT_URL + "/", 303) + http.Redirect(w, r, "/" + ROOT_URL + "/", 303) } count = newCount }