Log port being listened on
This commit is contained in:
parent
bb441427ac
commit
9b18fd252e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func main() {
|
|||
go doPopulate(ch, dir)
|
||||
|
||||
go watchFS(ch, w)
|
||||
|
||||
fmt.Printf("Listening on port %d\n", *port)
|
||||
http.HandleFunc("/", serve)
|
||||
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue