rsnext/test/e2e/app-dir/metadata
Jiachi Liu 6f30c911d6
Prefer to use deployment url for metadata routes on production (#48556)
Use should only need to configure one `metadataBase` as fixed domain or
url but metadata image routes can still work properly with `VERCEL_URL`
in preview deployments

If you configured `new URL('https://mydomain.com')`, it will work for
canonical url all the time since it's for SEO.
For preview deployments metadata image routes will work with deployment
url as they're always bound with deployment.
For production deployments metadata images routes can be alias to the
configured `metadataBase` as they could be the expected exposed domain

Follow up for #47910

link NEXT-887
2023-04-19 10:26:08 +00:00
..
app Fix missing favicon when other icon exist (#48311) 2023-04-12 21:07:47 +00:00
pages/blog Fix: only apply metadata dynamic image routes convention for app dir (#47367) 2023-03-21 18:25:20 +00:00
metadata.test.ts Prefer to use deployment url for metadata routes on production (#48556) 2023-04-19 10:26:08 +00:00
next.config.js Revert "Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)"" (#45196) 2023-01-24 13:21:59 +00:00