forked from AkkomaGang/akkoma
Merge branch 'fix/plug_parser_multipart' into 'develop'
web endpoint: Use Config.get directly instead of a tuple See merge request pleroma/pleroma!3445
This commit is contained in:
commit
64bc0c69ed
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
plug(Plug.Parsers,
|
plug(Plug.Parsers,
|
||||||
parsers: [
|
parsers: [
|
||||||
:urlencoded,
|
:urlencoded,
|
||||||
{:multipart, length: {Config, :get, [[:instance, :upload_limit]]}},
|
{:multipart, length: Config.get([:instance, :upload_limit])},
|
||||||
:json
|
:json
|
||||||
],
|
],
|
||||||
pass: ["*/*"],
|
pass: ["*/*"],
|
||||||
|
|
Loading…
Reference in a new issue