fix(endpoint): increase parser limit to 10mb

Signed-off-by: Amogh Lele <amogh@dyte.io>
This commit is contained in:
Amogh Lele 2022-05-23 16:44:51 +05:30
parent b76d005a22
commit 5a0995b991
No known key found for this signature in database
GPG Key ID: 56429BFA4A7B86B6

View File

@ -44,6 +44,7 @@ defmodule KetbinWeb.Endpoint do
plug Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
length: 10_000_000,
pass: ["*/*"],
json_decoder: Phoenix.json_library()