Skip to content

Commit

Permalink
Add JSON mime type. (#2714)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite authored Nov 25, 2024
1 parent c98ac13 commit 035a3fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coil-core/src/commonMain/kotlin/coil3/util/mimeTypes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ internal expect fun extensionFromMimeTypeMap(extension: String): String?
private val mimeTypeData = buildMap {
put("bin", "application/octet-stream")
put("gz", "application/gzip")
put("json", "application/json")
put("pdf", "application/pdf")
put("yaml", "application/yaml")

Expand Down

0 comments on commit 035a3fa

Please sign in to comment.