Skip to content

Commit

Permalink
[ADD] Add support for more mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
Cl0v1s committed Jun 17, 2023
1 parent 4ee2b47 commit 1c44e4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,11 @@ config :logger, :ex_syslogger,
metadata: [:request_id]

config :mime, :types, %{
"application/xml" => ["xml"],
"application/xrd+xml" => ["xrd+xml"],
"application/jrd+json" => ["jrd+json"],
"application/activity+json" => ["activity+json"],
"application/ld+json" => ["activity+json"]
"application/xml" => ["xml", "application/xml"],
"application/xrd+xml" => ["xrd+xml", "application/xrd+xml"],
"application/jrd+json" => ["jrd+json", "application/jrd+json"],
"application/activity+json" => ["activity+json", "application/activity+json"],
"application/ld+json" => ["activity+json", "application/ld+json"]
}

config :tesla, :adapter, {Tesla.Adapter.Finch, name: MyFinch}
Expand Down

0 comments on commit 1c44e4e

Please sign in to comment.