Skip to content

Commit

Permalink
Fix SVGs in Safari (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Sep 20, 2023
1 parent dbb9695 commit 478990c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Hummingbird/HTTP/MediaType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ extension HBMediaType {
/// Portable Network Graphics
public static var imagePng: Self { .init(type: .image, subType: "png") }
/// Scalable Vector Graphics (SVG)
public static var imageSvg: Self { .init(type: .image, subType: "svg") }
public static var imageSvg: Self { .init(type: .image, subType: "svg+xml") }
/// Tagged Image File Format (TIFF)
public static var imageTiff: Self { .init(type: .image, subType: "tiff") }
/// WEBP image
Expand Down

0 comments on commit 478990c

Please sign in to comment.