diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-19 16:01:22 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-19 16:01:22 +0800 |
| commit | 604f47882c20a63a2e68e94d0fcfb6df43f0f337 (patch) | |
| tree | 2eeef64bed962763688c15ab92b708eccd1dc8b6 /scripts/get_external_link_rank.go | |
| parent | 39c38eee14201d984b6142c1262bc90e19b8a124 (diff) | |
chore: replace all old assets url
Diffstat (limited to 'scripts/get_external_link_rank.go')
| -rw-r--r-- | scripts/get_external_link_rank.go | 2 |
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]++ } } |
