The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix dynamic og images
Steven Tey9cd85d28df71
diff --git a/pages/api/og/changelog.tsx b/pages/api/og/changelog.tsxindex ad90c73776..b682393ce9 100644--- a/pages/api/og/changelog.tsx+++ b/pages/api/og/changelog.tsx@@ -40,10 +40,7 @@ export default async function handler() {}}><img- src={new URL(- "../../../public/_static/logotype.png",- import.meta.url,- ).toString()}+ src="https://dub.sh/_static/logotype.png"style={{height: "40px",position: "absolute",diff --git a/pages/api/og/stats.tsx b/pages/api/og/stats.tsxindex 37b7016ebc..f31c63d9d7 100644--- a/pages/api/og/stats.tsx+++ b/pages/api/og/stats.tsx@@ -50,17 +50,11 @@ export default async function handler(req: NextRequest) {flexDirection: "column",alignItems: "center",backgroundColor: "white",- backgroundImage: `url(${new URL(- "../../../public/_static/background.png",- import.meta.url,- ).toString()})`,+ backgroundImage: `url(https://dub.sh/_static/background.png)`,}}><img- src={new URL(- "../../../public/_static/logo.png",- import.meta.url,- ).toString()}+ src="https://dub.sh/_static/logo.png"style={{width: "80px",height: "80px",