Skip to content

Commit

Permalink
fix linktree
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbr0wn authored and alexopenline committed Oct 24, 2024
1 parent 75deb0b commit fd993db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions domaincheck/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,17 @@ func PrimaryDomainCheck(domain string) (bool, string) {
if err != nil {
root = domain
}
if root == "linktr.ee" {
return false, ""
}

// Try connection check first - faster than HTTP request
if !checkConnection(root) {
return false, ""
}

dns := CheckDNS(root)
redirects, primaryDomain := CheckRedirects(root)

if primaryDomain == "linktr.ee" {
return false, ""
}
dns := CheckDNS(root)

if !redirects && dns.CNAME == "" && len(dns.MX) > 0 && dns.HasA {
if subdomain == "" && !expand {
Expand Down

0 comments on commit fd993db

Please sign in to comment.