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 analytics og images

Steven Tey110f3d243ffd
diff --git a/apps/web/app/api/og/analytics/route.tsx b/apps/web/app/api/og/analytics/route.tsx
index 3fa90f34b8..8c03efc125 100644
--- a/apps/web/app/api/og/analytics/route.tsx
+++ b/apps/web/app/api/og/analytics/route.tsx
@@ -51,7 +51,10 @@ export async function GET(req: NextRequest) {
flexDirection: "column",
alignItems: "center",
backgroundColor: "white",
- backgroundImage: `url(https://dub.co/_static/background.png)`,
+ backgroundImage: `url(https://d2vwwcvoksz7ty.cloudfront.net/background.png)`,
+ backgroundSize: "100% 100%",
+ backgroundPosition: "center",
+ backgroundRepeat: "no-repeat",
}}
>
<img