fix(endpoint): increase parser limit to 10mb
Signed-off-by: Amogh Lele <amogh@dyte.io>
This commit is contained in:
parent
b76d005a22
commit
5a0995b991
@ -44,6 +44,7 @@ defmodule KetbinWeb.Endpoint do
|
|||||||
|
|
||||||
plug Plug.Parsers,
|
plug Plug.Parsers,
|
||||||
parsers: [:urlencoded, :multipart, :json],
|
parsers: [:urlencoded, :multipart, :json],
|
||||||
|
length: 10_000_000,
|
||||||
pass: ["*/*"],
|
pass: ["*/*"],
|
||||||
json_decoder: Phoenix.json_library()
|
json_decoder: Phoenix.json_library()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user