all routes under a layout will use the runtime specified in the layout
all routes under a layout will use the runtime specified in the layout


export const runtime = "edge"; needed for Next Apps running on the edge with Cloudflare.
next-on-pages be recommended more or less over @opennextjs/cloudflare? Besides some very minute things, I cannot really find any meaningful difference between the two, so I'm wondering which one is better and why.Invalid prerender config for xxx
functions folder. Instead you should use standard NextJS API handlers: https://nextjs.org/docs/app/building-your-application/routing/route-handlers
export const runtime = "edge";Error: Module not found: Can't resolve 'net'
14 | Object.defineProperty(exports, "__esModule", { value: true });
15 | const events_1 = require("events");
> 16 | const net = require("net");
| ^
17 | const tls = require("tls");
18 | const errors_1 = require("../errors");
19 | const utils_1 = require("../utils");next-on-pages@opennextjs/cloudflarefunctions