Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: prefetch og image.

thorwebdevb734e89d0e31
diff --git a/apps/www/components/LaunchWeek/Ticket/form.tsx b/apps/www/components/LaunchWeek/Ticket/form.tsx
index fd5e3f99ebd..3595be0f946 100644
--- a/apps/www/components/LaunchWeek/Ticket/form.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/form.tsx
@@ -64,6 +64,12 @@ export default function Form({ sharePage, align = 'Center' }: Props) {
// Prefetch the twitter share URL to eagerly generate the page
fetch(`/launch-week/tickets/${username}`).catch((_) => {})
+ // Prefetch ticket og image.
+ fetch(
+ `https://obuldanrptloktxcffvn.functions.supabase.co/launchweek-ticket-og?username=${encodeURIComponent(
+ username ?? ''
+ )}`
+ ).catch((_) => {})
setPageState('ticket')
})