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

Steven Tey7f25b78bc58e
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 1bd5e1312c..e671f25a35 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -69,13 +69,13 @@ export const getLinkInfoQuerySchema = z.object({
.string()
.min(1, "Domain is required.")
.describe(
- "The domain of the link to retrieve. E.g. for `dub.sh/github`, the domain is `dub.sh`.",
+ "The domain of the link to retrieve. E.g. for `d.to/github`, the domain is `d.to`.",
),
key: z
.string()
.min(1, "Key is required.")
.describe(
- "The key of the link to retrieve. E.g. for `dub.sh/github`, the key is `github`.",
+ "The key of the link to retrieve. E.g. for `d.to/github`, the key is `github`.",
),
});
@@ -270,7 +270,7 @@ export const LinkSchema = z
.record(z.string())
.nullable()
.describe(
- "Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://dub.sh/geo",
+ "Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. Learn more: https://d.to/geo",
),
publicStats: z
.boolean()