This commit is contained in:
Adrien Marquès 2019-05-02 21:31:49 +02:00
parent aaa4fe9adf
commit 811cf89250
1 changed files with 1 additions and 4 deletions

View File

@ -52,9 +52,6 @@ func main() {
// 6. listen and serve
log.Printf("[server] listening\n\n")
err = http.ListenAndServe(listenTo, server)
if err != nil {
log.Fatalf("/!\\ cannot listen: %v\n", err)
}
log.Fatal(http.ListenAndServe(listenTo, server))
}