next.js
ef2b8f86 - Fix canonical url for dynamic routes (#49512)

Commit
2 years ago
Fix canonical url for dynamic routes (#49512) The `pathname` in app-render was actually "page" (e.g. `/blog/[slug]`), with special url conventions. Instead we should use actual request url as pathname. Rename previous `pathname` arg to `pagePath` for better readability Also improved the url validation
Author
Parents
Loading