server port correct logged to stdout
This commit is contained in:
@@ -36,7 +36,7 @@ func run() {
|
|||||||
MaxHeaderBytes: 1 << 20,
|
MaxHeaderBytes: 1 << 20,
|
||||||
}
|
}
|
||||||
fmt.Println("starting server at:")
|
fmt.Println("starting server at:")
|
||||||
fmt.Printf("http://localhost:%s/", *flagPort)
|
fmt.Printf("http://localhost%s/", *flagPort)
|
||||||
log.Fatal(s.ListenAndServe())
|
log.Fatal(s.ListenAndServe())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user