feat(seo): index public online pages without confirmation
Memind CI / Test, build, and release guards (push) Failing after 5m19s
Memind CI / Test, build, and release guards (push) Failing after 5m19s
Drop the user_confirmed_at gate so public, online, unexpired pages can enter sitemap/llms and receive SEO/GEO tags. Defaults now enable all discovery switches; stored all-off config is still preserved until admin saves. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,7 +40,6 @@ export function isPublicationIndexable(publication, { now = Date.now() } = {}) {
|
||||
if (!snapshot) return false;
|
||||
if (snapshot.status !== 'online') return false;
|
||||
if (snapshot.accessMode !== INDEXABLE_ACCESS_MODE) return false;
|
||||
if (snapshot.userConfirmedAt == null) return false;
|
||||
if (snapshot.expiresAt != null && snapshot.expiresAt <= now) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -74,7 +73,7 @@ export function resolveIndexPolicy({
|
||||
return {
|
||||
mode: 'indexable',
|
||||
injectNoindex: false,
|
||||
reason: 'public_confirmed',
|
||||
reason: 'public_online',
|
||||
seoEnabled: Boolean(seoGeoConfig.seo?.enabled),
|
||||
geoEnabled: Boolean(seoGeoConfig.geo?.enabled),
|
||||
canonicalEnabled: seoGeoConfig.seo?.canonical !== false,
|
||||
|
||||
Reference in New Issue
Block a user