diff --git a/app/routes/api.stripe.webhook/route.tsx b/app/routes/api.stripe.webhook/route.tsx index b83a120d9..cd7ab57da 100644 --- a/app/routes/api.stripe.webhook/route.tsx +++ b/app/routes/api.stripe.webhook/route.tsx @@ -89,7 +89,7 @@ export const action: ActionFunction = async ({ request }) => { formData.set("type", PayPlanType.FreetierV0) formData.set("subscription", "") - await fetch("/api/admin/update-plan", { + await fetch(`${url.origin}/api/admin/update-plan`, { method: "post", body: formData, })