diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-07-27 08:28:52 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-07-27 08:28:52 -0500 |
commit | 94db0b7cd604022c65b9f70e5c5a939ac3ed4801 (patch) | |
tree | 760cf3baf93f824f4f7fc5e8d0971bbf7b5c81f3 /config | |
parent | b221d77a6da07c684bdbc63ddf4500e0d7ffeae8 (diff) | |
download | pleroma-94db0b7cd604022c65b9f70e5c5a939ac3ed4801.tar.gz |
Add activity+json to Phoenix :format_encoders
Fixes ErrorView rendering
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 66aee3264..abedd2fbe 100644 --- a/config/config.exs +++ b/config/config.exs @@ -452,7 +452,7 @@ config :pleroma, :media_preview_proxy, config :pleroma, :chat, enabled: true -config :phoenix, :format_encoders, json: Jason +config :phoenix, :format_encoders, json: Jason, "activity+json": Jason config :phoenix, :json_library, Jason |