diff --git a/stats/web.go b/stats/web.go index 16d14ef..6bb3c4c 100644 --- a/stats/web.go +++ b/stats/web.go @@ -29,7 +29,7 @@ func webWords(rw http.ResponseWriter, req *http.Request) { func startWebServer(bindAddr string) { http.HandleFunc("/stats", webStats) - http.HandleFunc("/users", webUserNames) - http.HandleFunc("/words", webUserWords) + http.HandleFunc("/users", webUsers) + http.HandleFunc("/words", webWords) http.ListenAndServe(bindAddr, nil) }