kir-dev / blog-v3

Kir-Dev's portfolio website.
https://kir-dev.hu
4 stars 2 forks source link

Sanity does not like SVGs #3

Open triszt4n opened 8 months ago

triszt4n commented 8 months ago

Right now if I upload an SVG in the post, I can't view it on the frontend, as the Sanity project does not allow it.

The requested resource "https://cdn.sanity.io/images/<REDACTED>-2835x2004.svg?auto=format" has type "image/svg+xml" but dangerouslyAllowSVG is disabled