Skip to content

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

chore: switch back to .co for edge functions

delgado3db73005a93b91
diff --git a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
index 4ccdda9a235..62480933f8a 100644
--- a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx
@@ -31,7 +31,7 @@ export default function TicketActions({
'twitter'
)}&via=supabase&text=${text}`
const linkedInUrl = `https://www.linkedin.com/sharing/share-offsite/?url=${permalink('linkedin')}`
- const downloadUrl = `https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-og?username=${encodeURIComponent(
+ const downloadUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(
username
)}`
const params = useParams()
diff --git a/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
index cba46e3515a..a1676470dcf 100644
--- a/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
@@ -59,7 +59,7 @@ export default function TicketForm({ defaultUsername = '', setTicketGenerationSt
fetch(`/launch-week/tickets/${username}`).catch((_) => {})
// Prefetch ticket og image.
fetch(
- `https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-og?username=${encodeURIComponent(
+ `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(
username ?? ''
)}`
).catch((_) => {})
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index e03e3e969bb..ec0d22678a1 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -126,7 +126,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
golden = user?.golden ?? false
bg_image_id = user?.bg_image_id ?? 1
referrals = user?.referrals ?? 0
- ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-og?username=${encodeURIComponent(
+ ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(
username ?? ''
)}${golden ? '&golden=true' : ''}`
}
diff --git a/apps/www/pages/launch-week/tickets/index.tsx b/apps/www/pages/launch-week/tickets/index.tsx
index 8fd30e324b0..7a56160b1bc 100644
--- a/apps/www/pages/launch-week/tickets/index.tsx
+++ b/apps/www/pages/launch-week/tickets/index.tsx
@@ -28,7 +28,7 @@ const supabaseAdmin = createClient(
const generateOgs = async (users: UserData[]) => {
users?.map(async (user) => {
- const ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-og?username=${encodeURIComponent(
+ const ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(
user.username ?? ''
)}${!!user.golden ? '&golden=true' : ''}`
return await fetch(ogImageUrl)
diff --git a/apps/www/supabase/functions/lw7-ticket-og/handler.tsx b/apps/www/supabase/functions/lw7-ticket-og/handler.tsx
index 0991d3333ac..e9a09e65316 100644
--- a/apps/www/supabase/functions/lw7-ticket-og/handler.tsx
+++ b/apps/www/supabase/functions/lw7-ticket-og/handler.tsx
@@ -258,7 +258,7 @@ export async function handler(req: Request) {
)
if (storageError) throw new Error(`storageError: ${storageError.message}`)
// Generate image for gallery
- fetch('https://obuldanrptloktxcffvn.functions.supabase.in/lw7-ticket-gallery', {
+ fetch('https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-gallery', {
method: 'POST',
headers: {
'Content-Type': 'application/json',