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
commit681f62fd4bcb7469572eb5e728e13c8c283334ae (patch)
treeac03a942575b2d0d565f622b862bf69400accbce /scripts
parent9fff1dfc158e64e650a6a0c9ff0ca7afc37cbb93 (diff)
chore: replace all old assets url
Former-commit-id: 604f47882c20a63a2e68e94d0fcfb6df43f0f337
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]++
}
}