Zomars/fixes stripe portal redirect (#808)
This commit is contained in:
parent
b8c4dfb9e1
commit
230c82e316
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue