aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/the_transcriber_backend/endpoint.ex5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/the_transcriber_backend/endpoint.ex b/lib/the_transcriber_backend/endpoint.ex
index a7b1478..32987a5 100644
--- a/lib/the_transcriber_backend/endpoint.ex
+++ b/lib/the_transcriber_backend/endpoint.ex
@@ -25,9 +25,10 @@ defmodule TheTranscriberBackend.Endpoint do
plug Plug.Logger
plug Plug.Parsers,
- parsers: [:urlencoded, :multipart, :json],
+ parsers: [:urlencoded, :multipart, :json, :length],
pass: ["*/*"],
- json_decoder: Poison
+ json_decoder: Poison,
+ length: 80_000_000
plug Plug.MethodOverride
plug Plug.Head