From fbc187ac15524638db2b116ed2b7365aaecdf2e4 Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 27 Mar 2018 16:09:08 +0200 Subject: Switch to Jason for json handling. It's twice as fast and will be the standard in the coming ecto. --- lib/pleroma/web/endpoint.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3