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

@ -18,13 +18,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
const customDomains = await prisma.customDomain.delete({
where: { name: domain },
})
console.log(
{
name: domain,
workspace: { id: workspaceId },
},
{ some: { userId: user.id } }
)
await deleteDomainOnVercel(domain)
return res.send({ customDomains })
}