N
Nuxt3mo ago
oemer

How too hook into a server response using Nuxt 3?

I need to hook in the response of /_ipx. If the image is corrupted /_ipx will throw an error, because it could not parse the image. So my goal is, if the optimization with /_ipx failed, I want to get the original image instead, without any optimization. Only if that fails too, I want to throw an error. Is that possible? I am using @nuxt/image
0 Replies
No replies yetBe the first to reply to this messageJoin