From 5a0995b99170ab339bc260bcbb5b5280787126ed Mon Sep 17 00:00:00 2001 From: Amogh Lele Date: Mon, 23 May 2022 16:44:51 +0530 Subject: [PATCH] fix(endpoint): increase parser limit to 10mb Signed-off-by: Amogh Lele --- lib/ketbin_web/endpoint.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ketbin_web/endpoint.ex b/lib/ketbin_web/endpoint.ex index f4e39d8..9680832 100644 --- a/lib/ketbin_web/endpoint.ex +++ b/lib/ketbin_web/endpoint.ex @@ -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()