2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 补全logo

This commit is contained in:
2026-01-04 01:29:42 +08:00
parent b2632535dd
commit f5709e735f
9 changed files with 49 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ func IsChina() bool {
client.SetRetryCount(3)
client.SetTLSClientConfig(&tls.Config{InsecureSkipVerify: true})
resp, err := client.R().Get("https://www.qualcomm.cn/cdn-cgi/trace")
resp, err := client.R().Get("https://perfops.cloudflareperf.com/cdn-cgi/trace")
if err != nil || !resp.IsSuccess() {
return false
}
@@ -123,7 +123,7 @@ func GetPublicIPv4() (string, error) {
},
})
resp, err := client.R().Get("https://www.qualcomm.cn/cdn-cgi/trace")
resp, err := client.R().Get("https://perfops.cloudflareperf.com/cdn-cgi/trace")
if err != nil || !resp.IsSuccess() {
return "", errors.New("failed to get public ipv4 address")
}
@@ -145,7 +145,7 @@ func GetPublicIPv6() (string, error) {
},
})
resp, err := client.R().Get("https://www.qualcomm.cn/cdn-cgi/trace")
resp, err := client.R().Get("https://perfops.cloudflareperf.com/cdn-cgi/trace")
if err != nil || !resp.IsSuccess() {
return "", errors.New("failed to get public ipv6 address")
}