Merge pull request #49 from matrix-org/continuserv-logging

Continuserv: Log port being listened on
This commit is contained in:
Daniel Wagner-Hall 2015-09-18 10:18:09 +01:00
commit 0b183f06f8

View file

@ -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))