mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-05 22:03:43 +01:00
Merge pull request #82 from matrix-org/daniel/reportport
speculator: Report listening port
This commit is contained in:
commit
f38473efd9
|
|
@ -362,6 +362,8 @@ func main() {
|
|||
http.HandleFunc("/diff/html/", s.serveHTMLDiff)
|
||||
http.HandleFunc("/healthz", serveText("ok"))
|
||||
http.HandleFunc("/", listPulls)
|
||||
|
||||
fmt.Printf("Listening on port %d\n", *port)
|
||||
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue