Skip to content

Commit

Permalink
Add svg content type in fileserver
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Reis <[email protected]>
  • Loading branch information
benjamreis committed Mar 29, 2024
1 parent 13258e5 commit 9230f36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocaml/xapi/fileserver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ let mime_of_extension = function
"application/xml"
| "rpm" ->
"application/x-rpm"
| "svg" ->
"image/svg+xml"
| _ ->
application_octet_stream

Expand Down

0 comments on commit 9230f36

Please sign in to comment.