From 8a85b89906f71e6326fbcf6273ba8f03ebb9a427 Mon Sep 17 00:00:00 2001 From: fox Date: Mon, 1 Apr 2024 21:30:12 +0000 Subject: [PATCH] Register APNG MIME type --- config/config.exs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index 876d25c26..de36d40cd 100644 --- a/config/config.exs +++ b/config/config.exs @@ -169,7 +169,10 @@ config :mime, :types, %{ "application/xrd+xml" => ["xrd+xml"], "application/jrd+json" => ["jrd+json"], "application/activity+json" => ["activity+json"], - "application/ld+json" => ["activity+json"] + "application/ld+json" => ["activity+json"], + # Can be removed when bumping MIME past 2.0.5 + # see https://akkoma.dev/AkkomaGang/akkoma/issues/657 + "image/apng" => ["apng"] } config :tesla, :adapter, {Tesla.Adapter.Finch, name: MyFinch}