fix: inputting the -ui and -p parameters, the output information is i… (#1125)

When inputting the -ui and -p parameters, the output information is
incorrect

Co-authored-by: Averi Kitsch <akitsch@google.com>
This commit is contained in:
stone-py
2025-08-12 02:15:06 +08:00
committed by GitHub
parent d8f03cce0c
commit 6d691d582f

View File

@@ -803,7 +803,7 @@ func run(cmd *Command) error {
}
cmd.logger.InfoContext(ctx, "Server ready to serve!")
if cmd.cfg.UI {
cmd.logger.InfoContext(ctx, "Toolbox UI is up and running at: http://localhost:5000/ui")
cmd.logger.InfoContext(ctx, fmt.Sprintf("Toolbox UI is up and running at: http://localhost:%d/ui", cmd.cfg.Port))
}
go func() {