Unverified Commit 2d549683 authored by Jam Balaya's avatar Jam Balaya Committed by GitHub

docs: change runtime value in example code (#72274)

## Description
[Invalid Page / API Route
Config](https://nextjs.org/docs/messages/invalid-page-config) shows some
examples.
However, runtime examples are same `nodejs` runtime.
Then I add `edge` value instead of duplicate value.

### Improving Documentation

- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guideCo-authored-by: 's avatarDelba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
parent f8b4b227
...@@ -86,7 +86,7 @@ export const config = { ...@@ -86,7 +86,7 @@ export const config = {
runtime: 'nodejs', runtime: 'nodejs',
} }
export const config = { export const config = {
runtime: `nodejs`, runtime: `edge`,
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment