Sanity does not like SVGs
Open
bug
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
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/-2835x2004.svg?auto=format" has type "image/svg+xml" but dangerouslyAllowSVG is disabled
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Start by locating the frontend image configuration and the Sanity image delivery path, then reproduce the SVG upload and view failure. Done means an uploaded SVG can be displayed on the frontend without the reported dangerouslyAllowSVG error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100