Switch to Jason for json handling.
It's twice as fast and will be the standard in the coming ecto.
This commit is contained in:
parent
c6cd1a56f0
commit
fbc187ac15
4 changed files with 11 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ defmodule Pleroma.Web.Endpoint do
|
|||
plug Plug.Parsers,
|
||||
parsers: [:urlencoded, :multipart, :json],
|
||||
pass: ["*/*"],
|
||||
json_decoder: Poison
|
||||
json_decoder: Jason
|
||||
|
||||
plug Plug.MethodOverride
|
||||
plug Plug.Head
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue