next.js
f2f1c251 - Fix duplicated dynamic metadata routes in dev mode (#55026)

Commit
2 years ago
Fix duplicated dynamic metadata routes in dev mode (#55026) In dev mode, we're using a catch-all route for dynamic metadata routes, e.g. page path `/twitter-image` would become `/twitter-image/[[...metadata_id...]]/route` as a dynamic custom app route. But we're missing to convert it in filesystem scanning for routing purpose, adding the metadata related normalizing logic for app page to align with other places.
Author
Parents
Loading