mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-23 15:53:43 +01:00
Merge pull request #49 from matrix-org/continuserv-logging
Continuserv: Log port being listened on
This commit is contained in:
commit
0b183f06f8
|
|
@ -56,7 +56,7 @@ func main() {
|
||||||
go doPopulate(ch, dir)
|
go doPopulate(ch, dir)
|
||||||
|
|
||||||
go watchFS(ch, w)
|
go watchFS(ch, w)
|
||||||
|
fmt.Printf("Listening on port %d\n", *port)
|
||||||
http.HandleFunc("/", serve)
|
http.HandleFunc("/", serve)
|
||||||
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue