Open danieldanielecki opened 5 months ago
The problem is the use of NEXT_PUBLIC_VERCEL_URL
as the baseUrl in several places across the code. This uses the internal Vercel domain rather than your prod deployment domain. Assuming you have configured TWITTER_SITE
to match your prod domain, I recommend using that instead.
https://github.com/vercel/commerce/blob/610b0e86928bffeea94201dd0eeb9b62e9b1f5c0/app/robots.ts#L1
Why is that happening if I have a custom domain? The links refer to my Vercel domain.
https://shop.ditectrev.com/robots.txt
https://shop.ditectrev.com/sitemap.xml