Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update get-config-response.ts

Steven Tey48662097673f
diff --git a/apps/web/lib/api/domains/get-config-response.ts b/apps/web/lib/api/domains/get-config-response.ts
index 11f041d228..4674e14a1c 100644
--- a/apps/web/lib/api/domains/get-config-response.ts
+++ b/apps/web/lib/api/domains/get-config-response.ts
@@ -18,7 +18,7 @@ export const getConfigResponse = async (domain: string) => {
if (apexDomain !== domain) {
const wildcardDomain = `*.${apexDomain}`;
const wildcardResponse = await getVercelConfigResponse(wildcardDomain);
- if (wildcardResponse.misconfigured) {
+ if (!wildcardResponse.misconfigured) {
return wildcardResponse;
}
}