The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
rearrange
Steven Tey2b342ff046ba
diff --git a/apps/web/app/api/qr/route.tsx b/apps/web/app/api/qr/route.tsxindex 79e83f5ff2..f45ba1670f 100644--- a/apps/web/app/api/qr/route.tsx+++ b/apps/web/app/api/qr/route.tsx@@ -73,11 +73,6 @@ const getQRCodeLogo = async ({return DUB_QR_LOGO;}- // Dub owned domain- if (isDubDomain(shortLink.domain)) {- return DUB_QR_LOGO;- }-// hideLogo is set or logo is passedif (hideLogo || logo) {const workspace = await getWorkspaceViaEdge(shortLink.projectId);@@ -93,6 +88,11 @@ const getQRCodeLogo = async ({return logo;}+ // Dub owned domain+ if (isDubDomain(shortLink.domain)) {+ return DUB_QR_LOGO;+ }+// if no logo is passed, use domain logoconst domain = await getDomainViaEdge(shortLink.domain);