From d3b2b1efd1168c00dab05cfe1bdf25ee4f4b9a52 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Sun, 27 Oct 2024 19:45:41 +0800 Subject: [PATCH] fix: app url env var (#10) --- supabase/functions/stripe-checkout/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/functions/stripe-checkout/index.ts b/supabase/functions/stripe-checkout/index.ts index d78209a..d667346 100644 --- a/supabase/functions/stripe-checkout/index.ts +++ b/supabase/functions/stripe-checkout/index.ts @@ -99,7 +99,7 @@ Deno.serve(async (req) => { }), ui_mode: 'embedded', return_url: `${Deno.env.get( - 'NEXT_PUBLIC_APP_URL' + 'APP_URL' )}/return?session_id={CHECKOUT_SESSION_ID}`, metadata: { user_id: user.id,