Panic if the http server fails
This commit is contained in:
parent
90d401e98e
commit
fbed1ab5ab
1 changed files with 1 additions and 1 deletions
|
@ -154,5 +154,5 @@ func main() {
|
|||
fileHandler("/css/")
|
||||
fileHandler("/js/")
|
||||
http.HandleFunc("/", indexHandler(coll))
|
||||
http.ListenAndServe(PORT, nil)
|
||||
panic(http.ListenAndServe(PORT, nil))
|
||||
}
|
||||
|
|
Reference in a new issue