diff options
| author | lain <lain@soykaf.club> | 2018-03-27 16:09:08 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2018-03-27 16:09:08 +0200 |
| commit | fbc187ac15524638db2b116ed2b7365aaecdf2e4 (patch) | |
| tree | 55bae8a332a91fef360a00c3991f62ae86aa2161 /lib | |
| parent | c6cd1a56f03193062edd257fe90048f4df39f20c (diff) | |
| download | pleroma-fbc187ac15524638db2b116ed2b7365aaecdf2e4.tar.gz pleroma-fbc187ac15524638db2b116ed2b7365aaecdf2e4.zip | |
Switch to Jason for json handling.
It's twice as fast and will be the standard in the coming ecto.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/pleroma/web/endpoint.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 93b37dc74..a2fb71451 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -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 |
