Skip to content

Commit

Permalink
Fix SVG file handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthaTi authored and andrewlalis committed Jan 6, 2025
1 parent 5ba0455 commit 3a43b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/handy_httpd/handlers/file_resolving_handler.d
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class FileResolvingHandler : HttpRequestHandler {
"jpg": "image/jpg",
"gif": "image/gif",
"webp": "image/webp",
"svg": "image/svg+xml",
"wav": "audio/wav",
"ogg": "audio/ogg",
"mp3": "audio/mpeg",
Expand All @@ -69,7 +70,6 @@ class FileResolvingHandler : HttpRequestHandler {
"ttf": "application/font-ttf",
"eot": "application/vnd.ms-fontobject",
"otf": "application/font-otf",
"svg": "application/image/svg+xml",
"wasm": "application/wasm",
"pdf": "application/pdf",
"xml": "application/xml"
Expand Down

0 comments on commit 3a43b35

Please sign in to comment.