Skip to content

Commit

Permalink
fix: app url env var (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaister authored Oct 27, 2024
1 parent 624c4f1 commit d3b2b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supabase/functions/stripe-checkout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d3b2b1e

Please sign in to comment.