You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same problem everything works locally when accessing the route but when I deploy I have the same error message for two images I have to render.
Hey @shuding@Jackie1210 , I have encoutered the same issue, and I saw many similar issues (#626) in this repo. Would you mind take a look? Thanks in advance 🙏
Bug report
Description / Observed Behavior
issue both with @vercel/og and next/og with an tag.
I want to render an image from public/backgrounds/1.png, so i do:
<img src={ new URL('/backgrounds/1.png', origin).toString() } {...rest} />
.in dev mode everything works as expected, but in production build there is an error:
In the browser link correctly opens with an image.
Expected Behavior
Proper render
Reproduction
https://og-playground.vercel.app/?share=XZFRT4MwEMe_CjmjvhBBXcwkQzO3RWfCnvbgw16AttBZeoS2AiP77rbDmehD07vf_669_G-AHAmFCGaEf-2k5yndCxoPg4s9r6S8KHXkXd-G4eW1P8KWE13-Y4SrWqS9pUzQ7kxdvOQNzTVHabUchankWU0FL-Ra00o5iUpNm7O0N0pz1i_QQun-_ytnaf5ZNGgkWaDAxuoXjLFRPR538skFM14VY7lq8njYQal1raIgMNLNqsqbHKugLlGjCoyZqIVZqbt8HRBspcCUPPOOkzi5b7tkP79ny5dp8tGV2Ws3TbbvU_bW2dP29nSbwyrcHJJus00ObH7FsMlprBtDr9r4YRLuwM7061w8WPQDRn_j4fFhJIGdfBbYVdgbfMDaGacgGuDUCtE0DH0YuyCauITQzBQQsVQo6gOtcM-3fe1WqttTZt9h1sdVlVECkZvq6INOM1tRUiGwxUYQOH4D
Additional Context
i've got
output: "standalone"
in next confignext: 14.2.3
@vercel/og: 0.6.2
The text was updated successfully, but these errors were encountered: