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 route.ts

Tim Wilson81745b246594
diff --git a/apps/web/app/api/domains/register/route.ts b/apps/web/app/api/domains/register/route.ts
index d97951e7ef..07592439f0 100644
--- a/apps/web/app/api/domains/register/route.ts
+++ b/apps/web/app/api/domains/register/route.ts
@@ -14,6 +14,7 @@ const schema = z.object({
.string()
.min(1)
.endsWith(".link")
+ .transform((domain) => domain.toLowerCase())
.describe("We only support .link domains for now."),
});