Can you set up edge runtime in _app.tsx?
Unanswered
Montezuma Quail posted this in #help-forum
Montezuma QuailOP
In older versions, you could turn on edge runtime for all the routes / pages in config. This is no longer possible and you have to add
export const runtime = 'edge'; to every route. Is it possible to add it to _app.tsx to turn it on for every page in a single place?3 Replies
Montezuma QuailOP
Okay, so it has to be turned on in every page? There was a PR for app directory that enabled the layout components so it is possible to do with the app directory now... What about pages directory...?