Redirect breaks twitter card

Hello, I have a site at lesley-lai-blog.netlify.app and I redirect it into a custom domain lesleylai.info. However, when I try to put the custom domain into the Twitter Card validator, it cannot find the Open Graph and Twitter meta-tags. When I put in the default subdomain lesley-lai-blog.netlify.app, however, it can show my twitter card properly.

I also tried to use the twitter bot user agent manually

curl -A 'Twitterbot' https://lesleylai.info/ -o file.html

and I find that all the Twitter and Open Graph meta tags are missing. While

curl -A 'Twitterbot' https://lesley-lai-blog.netlify.app -o file.html

work as expected.

Does anyone have idea on how to fix this issue?

I solved this problem.

Hey @LesleyLai,
Could you share how you have fixed this issue?