Update version to v2.3.5.1

Update version to v2.3.5.1
This commit is contained in:
心隨緣動
2024-06-10 19:22:47 +08:00
committed by GitHub
parent bd45113583
commit 6322fa619e
+4 -4
View File
@@ -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)
}