summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-19 16:01:22 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-19 16:01:22 +0800
commit604f47882c20a63a2e68e94d0fcfb6df43f0f337 (patch)
tree2eeef64bed962763688c15ab92b708eccd1dc8b6 /scripts
parent39c38eee14201d984b6142c1262bc90e19b8a124 (diff)
chore: replace all old assets url
Diffstat (limited to 'scripts')
-rw-r--r--scripts/get_external_link_rank.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get_external_link_rank.go b/scripts/get_external_link_rank.go
index 91dce845..425f47b2 100644
--- a/scripts/get_external_link_rank.go
+++ b/scripts/get_external_link_rank.go
@@ -34,7 +34,7 @@ func countExternalLinks(root string) [][2]interface{} {
matches := linkRegex.FindAllString(string(data), -1)
for _, match := range matches {
u, err := url.Parse(match)
- if err == nil && u.Host != "" && u.Host != "image.guhub.cn" {
+ if err == nil && u.Host != "" && u.Host != "r2.eltr.ac" {
counts[u.Host]++
}
}