2
0

fix: 🐛 Disable font optimization temporarly

https://github.com/vercel/next.js/issues/24781
This commit is contained in:
Baptiste Arnaud
2022-05-14 08:11:26 -07:00
parent 46037c039e
commit 508c1660b4
7 changed files with 3 additions and 11 deletions

View File

@ -13,7 +13,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
const { email, currency, plan, workspaceId } =
typeof req.body === 'string' ? JSON.parse(req.body) : req.body
console.log(plan, workspaceId)
const session = await stripe.checkout.sessions.create({
success_url: `${req.headers.origin}/typebots?stripe=success`,
cancel_url: `${req.headers.origin}/typebots?stripe=cancel`,