Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): prefer Vercel's IPv4 recommendation over the fallback A record

Richie McIlroy02563a2403ed
diff --git a/apps/web/actions/organization/domain-utils.ts b/apps/web/actions/organization/domain-utils.ts
index 81f39f24b..ea3a5ed53 100644
--- a/apps/web/actions/organization/domain-utils.ts
+++ b/apps/web/actions/organization/domain-utils.ts
@@ -198,9 +198,7 @@ export const checkDomainStatus = async (domain: string) => {
recommendedIPv4 = [{ rank: 0, value: [VERCEL_A_RECORD] }];
}
- const requiredAValue =
- requiredConfigJson.aValues?.[0] ??
- (!subdomain ? VERCEL_A_RECORD : undefined);
+ const requiredAValue = requiredConfigJson.aValues?.[0];
return {
verified,