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.

fix password-protected OG image

Steven Teyd404e3a7b573
diff --git a/apps/web/ui/modals/add-edit-link-modal/index.tsx b/apps/web/ui/modals/add-edit-link-modal/index.tsx
index 6d83c337be..369376090c 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -93,7 +93,7 @@ function AddEditLinkModal({
title: "Password Required",
description:
"This link is password protected. Please enter the password to view it.",
- image: "/_static/password-protected.png",
+ image: "https://assets.dub.co/misc/password-protected.png",
}));
return;
}
diff --git a/apps/web/ui/modals/link-builder/use-metatags.ts b/apps/web/ui/modals/link-builder/use-metatags.ts
index a24ce3dbfa..67f2039715 100644
--- a/apps/web/ui/modals/link-builder/use-metatags.ts
+++ b/apps/web/ui/modals/link-builder/use-metatags.ts
@@ -26,7 +26,7 @@ export function useMetatags({
"description",
"This link is password protected. Please enter the password to view it.",
);
- setValue("image", "/_static/password-protected.png");
+ setValue("image", "https://assets.dub.co/misc/password-protected.png");
return;
}