Skip to content

Commit

Permalink
Add support for default SVG MIME type (#305)
Browse files Browse the repository at this point in the history
* Add support for default SVG MIME type
  • Loading branch information
Dave Kozma authored Sep 13, 2023
1 parent 82c2aa2 commit 66a570e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/src/asset_handlers/svg_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ use crate::{
utils::base64,
};

static SUPPORTED_TYPES: [&str; 7] = [
static SUPPORTED_TYPES: [&str; 8] = [
"svg",
"application/svg+xml",
"xhtml",
"xml",
"application/xhtml+xml",
"application/xml",
"image/svg+xml",
"text/xml",
];

Expand Down

0 comments on commit 66a570e

Please sign in to comment.