Skip to content

Commit

Permalink
feat: mark deepin.{com,org} links as likely CN-domestic
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Feb 11, 2024
1 parent 745574b commit a1f7ee7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/awly-rehype-annotate-overseas-links/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ function isHostLikelyCNDomestic(hostname: string): boolean {
}

if (hostname.endsWith('gitee.com') || hostname.endsWith('katyusha.net')
|| hostname.endsWith('sseinfo.com'))
|| hostname.endsWith('sseinfo.com') || hostname.endsWith('deepin.com')
|| hostname.endsWith('deepin.org'))
return true

return false
Expand Down

0 comments on commit a1f7ee7

Please sign in to comment.