Custom font for ImageResponse not working
Unanswered
Sam Apostel posted this in #help-forum
I have a local .ttf font file that I want to use in an open graph image. I placed the font file in public/assets and try to fetch it how the docs tell me to fetch remote font files for ImageResponse, but I get a 401 from vercel.
I have been fixing this for 2 years but after every major nextjs version upgrade or vercel firewall update it breaks again. The most relevant thread I found is a 2 years old github issue that was closed because of inactivity.
https://github.com/vercel/next.js/issues/48081
Any guidance on this is appreciated.
I have been fixing this for 2 years but after every major nextjs version upgrade or vercel firewall update it breaks again. The most relevant thread I found is a 2 years old github issue that was closed because of inactivity.
https://github.com/vercel/next.js/issues/48081
Any guidance on this is appreciated.