We have our site on Netlify using Netlify’s pre-rendering features because we need to render custom OG images based on the referral URL. This is a referral link:
Both of these are links of an exact same Netlify project. Pre-rendering of Netflify domain is working fine and showing custom images as it should. But for custom domain, its showing default images. Here are links for Facebook share debugger showing different meta tags for these link:
Netlify Domain: -> https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Ffelix.fm%2Ftim
Custom Domain: -> https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Ffelix-fm-dev.netlify.app%2Ftim
We absolutely love Netlify’s Pre-rendering feature but this issue seems a bit strange because the custom domain is pointing directly at Netlify’s domain.
Any sort of help would be highly appreciated.