Skip to content

Commit

Permalink
Update next/head warning to link to the correct docs page (#51013)
Browse files Browse the repository at this point in the history
Fixes #50844
  • Loading branch information
delbaoliveira committed Jun 12, 2023
1 parent a973ad6 commit d106155
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export { e${cnt++} as ${ref} };`
if (buildInfo.rsc?.type !== RSC_MODULE_TYPES.client) {
if (noopHeadPath === this.resourcePath) {
warnOnce(
`Warning: You're using \`next/head\` inside the \`app\` directory, please migrate to the Metadata API. See https://nextjs.org/docs/app/api-reference/file-conventions/metadata for more details.`
`Warning: You're using \`next/head\` inside the \`app\` directory, please migrate to the Metadata API. See https://nextjs.org/docs/app/building-your-application/upgrading/app-router-migration#step-3-migrating-nexthead for more details.`
)
}
}
Expand Down

0 comments on commit d106155

Please sign in to comment.