From 8e3ae7443e31e8b32f0da66d2087c20da2f5a481 Mon Sep 17 00:00:00 2001 From: Chizu Date: Tue, 2 Apr 2024 06:20:04 +0900 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}