~mlb/linkhut

ce6e35922eabf45e93da04766c994c0fefd1ef9a — Matías Larre Borges 5 days ago 2722969
Increase file upload size limit from 8mb to 50mb
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/linkhut_web/endpoint.ex
M lib/linkhut_web/endpoint.ex => lib/linkhut_web/endpoint.ex +1 -0
@@ 33,6 33,7 @@ defmodule LinkhutWeb.Endpoint do
  plug Plug.Telemetry, event_prefix: [:phoenix, :endpoint]

  plug Plug.Parsers,
    length: 50_000_000,
    parsers: [:urlencoded, :multipart, :json],
    pass: ["*/*"],
    json_decoder: Phoenix.json_library()