Function timing out, no idea why

That’s something you’d have to debug, I’m afraid. Maybe you go through the guide shared above:

Please read this: GitHub - netlify/next-runtime: The Next.js Runtime allows Next.js to run on Netlify with zero configuration