You can just make a not found page with the edge runtime, I ran in to that issue when my root layout

You can just make a not found page with the edge runtime, I ran in to that issue when my root layout page was needing the edge runtime

https://developers.cloudflare.com/pages/framework-guides/nextjs/ssr/troubleshooting/#app-router
Was this page helpful?