From 7281d05efc9e3eba144a6796466bb1487e8d2e1c Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Fri, 3 Nov 2023 17:42:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B:=20Fixed=20system=20startup=20N?= =?UTF-8?q?etwork=20output=20problem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/api/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api/server.go b/cmd/api/server.go index 5c8f01a0..8d7f5d60 100644 --- a/cmd/api/server.go +++ b/cmd/api/server.go @@ -130,7 +130,7 @@ func run() error { tip() fmt.Println(pkg.Green("Server run at:")) fmt.Printf("- Local: %s://localhost:%d/ \r\n", "http", config.ApplicationConfig.Port) - fmt.Printf("- Network: %s://%s:%d/ \r\n", pkg.GetLocaHonst(), "http", config.ApplicationConfig.Port) + fmt.Printf("- Network: %s://%s:%d/ \r\n", "http", pkg.GetLocaHonst(), config.ApplicationConfig.Port) fmt.Println(pkg.Green("Swagger run at:")) fmt.Printf("- Local: http://localhost:%d/swagger/admin/index.html \r\n", config.ApplicationConfig.Port) fmt.Printf("- Network: %s://%s:%d/swagger/admin/index.html \r\n", "http", pkg.GetLocaHonst(), config.ApplicationConfig.Port)