Next.js Image Component Proxy Configuration Support?
Unanswered
Dwarf Crocodile posted this in #help-forum
Dwarf CrocodileOP
Hi everyone,
Is there a way to pass proxy configuration to the Next.js Image component (or its underlying fetch API)?
Setting it globally doesn’t work for my use case.
I noticed this issue was marked as completed: https://github.com/vercel/next.js/issues/21872
If anyone has an example or guidance, I’d really appreciate it. Thanks!
Is there a way to pass proxy configuration to the Next.js Image component (or its underlying fetch API)?
Setting it globally doesn’t work for my use case.
I noticed this issue was marked as completed: https://github.com/vercel/next.js/issues/21872
If anyone has an example or guidance, I’d really appreciate it. Thanks!
3 Replies
Blue swimming crab
yeah.. but not directly through the
<Image />component props..in my opinion, configure a global proxy at the Node.js/runtime level.. which will affect outgoing request including img fetch..
@Blue swimming crab in my opinion, configure a global proxy at the Node.js/runtime level.. which will affect outgoing request including img fetch..
Dwarf CrocodileOP
Thanks for the reply as of now i have patched fetch api