This commit is contained in:
Liang Ding 2022-10-26 08:54:58 +08:00
parent 2f32985c39
commit c4fb442e46
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -96,6 +96,7 @@ func Serve(fastMode bool) {
os.Exit(util.ExitCodeUnavailablePort)
}
}
util.ServerPort = port
pid := fmt.Sprintf("%d", os.Getpid())
if !fastMode {