Ooops, forgot a thing
This commit is contained in:
parent
19b9480790
commit
0a117e7918
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Reference in a new issue