diff --git a/pages/api/hello.js b/pages/api/hello.js index aee21e9..9e009ae 100644 --- a/pages/api/hello.js +++ b/pages/api/hello.js @@ -3,3 +3,6 @@ export default function handler(req, res) { res.status(200).json({ name: "John Doe" }); } + +// https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes +export const runtime = 'edge';