server port correct logged to stdout

This commit is contained in:
Andreas Schröpfer
2021-03-03 15:14:15 +01:00
parent 8bb2be248d
commit b94f8daf77

View File

@@ -36,7 +36,7 @@ func run() {
MaxHeaderBytes: 1 << 20,
}
fmt.Println("starting server at:")
fmt.Printf("http://localhost:%s/", *flagPort)
fmt.Printf("http://localhost%s/", *flagPort)
log.Fatal(s.ListenAndServe())
}