When running fetch to transform an image, it ignoring the "format" but only within my code

If I navigate to the URL directly, it formats it to webp, but if I use 'fetch' from within my sveltekit function, it doesn't convert it - is there a reason for this?
2 Replies
Cory
CoryOP12mo ago
jpeg works I wonder if it thinks the call doesn't "support" webp"? how to force it
Revan
Revan12mo ago
what are your accept headers wait this isnt the svelte discord

Did you find this page helpful?