Wrong URL in opengraph/twitter-image.tsx
Answered
Expensiveee posted this in #help-forum
Hello, when I generate a dynamic og/twitter image using the
opengraph/twitter-image.tsx
file and the ImageResponse
method, the url put is not my "clean" domain but rather the depolyment url, so not example.com but dashboard-qnwp9tdl1.vercel.app4 Replies
Disabled some protection settings on Vercel for it to be able to work (which I don't like)
Any alternative pls?
Fixed by adding a metadatBase as the domain I want to use✅
Answer