From 6322fa619e511e0d2850f50aad174eee5fc4bdec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= <88259403+xeefei@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:22:47 +0800 Subject: [PATCH] Update version to v2.3.5.1 Update version to v2.3.5.1 --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 9945076..5c9171a 100644 --- a/main.go +++ b/main.go @@ -184,21 +184,21 @@ func showSetting(show bool) { fmt.Println("") // 根据条件打印带颜色的字符串 if ipv4 != "" { - formattedIPv4 := fmt.Sprintf("%s http://%s:%d/%s" + Reset, + formattedIPv4 := fmt.Sprintf("%s http://%s:%s/%s" + Reset, Green+"面板 IPv4 访问地址------>>", Yellow+"http://", Yellow+ipv4, - Yellow+port, + Yellow+fmt.Sprintf("%d", port), Yellow+webBasePath) fmt.Println(formattedIPv4) } if ipv6 != "" { - formattedIPv6 := fmt.Sprintf("%s http://%s:%d/%s" + Reset, + formattedIPv6 := fmt.Sprintf("%s http://%s:%s/%s" + Reset, Green+"面板 IPv6 访问地址------>>", Yellow+"http://", Yellow+ipv6, - Yellow+port, + Yellow+fmt.Sprintf("%d", port), Yellow+webBasePath) fmt.Println(formattedIPv6) }