Skip to content

Commit

Permalink
docs: change runtime value in example code (vercel#72274)
Browse files Browse the repository at this point in the history
## 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-guide

Co-authored-by: Delba de Oliveira <[email protected]>
  • Loading branch information
JamBalaya56562 and delbaoliveira authored Nov 6, 2024
1 parent f8b4b22 commit 2d54968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/invalid-page-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const config = {
runtime: 'nodejs',
}
export const config = {
runtime: `nodejs`,
runtime: `edge`,
}
```

Expand Down

0 comments on commit 2d54968

Please sign in to comment.