Zomars/fixes stripe portal redirect (#808)
parent
b8c4dfb9e1
commit
230c82e316
|
@ -54,6 +54,6 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
return_url,
|
||||
});
|
||||
|
||||
res.redirect(stripeSession.url);
|
||||
res.redirect(302, stripeSession.url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue