Phase 13, part 4: proving a team's domain
Before Supermarket crawls a team's website, reads its Search Console data or publishes to it, the team proves the domain is theirs: a DNS TXT record, a file on the site, or owning its Search Console property. One team holds a domain at a time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -185,6 +185,9 @@ func (s *Server) carryOut(ctx context.Context, r *approvals.Request, as *viewer)
|
||||
}
|
||||
return "added to the mailing list", nil
|
||||
case "seo-change":
|
||||
if !s.domainProved() {
|
||||
return "", errors.New("the team hasn't proved its domain yet (Settings → Domain)")
|
||||
}
|
||||
if s.gitea() == nil {
|
||||
return "", errors.New("Gitea isn't connected (Settings → Search engines)")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user