The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
steven-tey/dub → dubinc/dub
Steven Tey67f5d3cf01bc
diff --git a/apps/web/lib/upstash.ts b/apps/web/lib/upstash.tsindex 37e2473b2c..88384dad6a 100644--- a/apps/web/lib/upstash.ts+++ b/apps/web/lib/upstash.ts@@ -66,7 +66,7 @@ export async function setRandomKey(* If there's an error, it will be logged to a separate redis list for debugging**/export async function recordMetatags(url: string, error: boolean) {- if (url === "https://github.com/steven-tey/dub") {+ if (url === "https://github.com/dubinc/dub") {// don't log metatag generation for default URLreturn null;}diff --git a/apps/web/prisma/schema.prisma b/apps/web/prisma/schema.prismaindex 3458289646..c8e1256f0a 100644--- a/apps/web/prisma/schema.prisma+++ b/apps/web/prisma/schema.prisma@@ -179,7 +179,7 @@ model Link {id String @id @default(cuid())domain String // domain of the link (e.g. dub.sh) – also stored on Rediskey String // key of the link (e.g. /github) – also stored on Redis- url String @db.LongText // target url (e.g. https://github.com/steven-tey/dub) – also stored on Redis+ url String @db.LongText // target url (e.g. https://github.com/dubinc/dub) – also stored on Redisarchived Boolean @default(false) // whether the link is archived or notexpiresAt DateTime? // when the link expires – stored on Redis via ttlpassword String? // password to access the linkdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 5158e2c57e..ff42d8efd4 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,7 +1,7 @@{"name": "@dub/ui","description": "UI components for Dub.co",- "version": "0.0.31",+ "version": "0.0.32","sideEffects": false,"main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/ui/src/footer.tsx b/packages/ui/src/footer.tsxindex 0859d6cdfc..15ddeb6e97 100644--- a/packages/ui/src/footer.tsx+++ b/packages/ui/src/footer.tsx@@ -74,7 +74,7 @@ export function Footer() {</a><div className="h-8 border-l border-gray-200" /><a- href="https://github.com/steven-tey/dub"+ href="https://github.com/dubinc/dub"target="_blank"rel="noreferrer"className="rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200"diff --git a/packages/ui/src/link-preview.tsx b/packages/ui/src/link-preview.tsxindex 579136360a..fbcacdb676 100644--- a/packages/ui/src/link-preview.tsx+++ b/packages/ui/src/link-preview.tsx@@ -12,9 +12,7 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {const router = useRouter();const searchParams = useSearchParams();const url =- defaultUrl ||- searchParams?.get("url") ||- "https://github.com/steven-tey/dub";+ defaultUrl || searchParams?.get("url") || "https://github.com/dubinc/dub";const [debouncedUrl] = useDebounce(getUrlFromString(url), 500);const hostname = useMemo(() => {return getDomainWithoutWWW(debouncedUrl || "");@@ -126,7 +124,7 @@ export function LinkPreviewPlaceholder({disabledclassName="block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500"placeholder="Enter your URL"- defaultValue={defaultUrl || "https://github.com/steven-tey/dub"}+ defaultValue={defaultUrl || "https://github.com/dubinc/dub"}/></div><div className="relative overflow-hidden rounded-md border border-gray-300 bg-gray-50">