The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
lw7: fetch og image from bucket and not from edge function
Francesco Sansalvadore29bf83261e15
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsxindex b57c28ab37b..d8bd2b3f41d 100644--- a/apps/www/pages/launch-week/tickets/[username].tsx+++ b/apps/www/pages/launch-week/tickets/[username].tsx@@ -59,6 +59,8 @@ export default function UsernamePage({ user, users, ogImageUrl }: Props) {images: [{url: ogImageUrl,+ width: 1200,+ height: 630,},],}}@@ -128,9 +130,9 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {golden = user?.golden ?? falsebg_image_id = user?.bg_image_id ?? 1referrals = user?.referrals ?? 0- ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(- username ?? ''- )}${golden ? '&golden=true' : ''}`+ ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw7/tickets/${+ golden ? 'golden' : 'regular'+ }/v3/${username ?? ''}.png`}return {