Skip to content

Commit

Permalink
fix: enable compressed body reader
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Dec 12, 2023
1 parent 7b99eaa commit 014cd61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/logflare_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ defmodule LogflareWeb.Endpoint do
plug(Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Jason
json_decoder: Jason,
body_reader: {LogflareWeb.Plugs.CompressedBodyReader, :read_body, []}
)

plug(Plug.MethodOverride)
Expand Down

0 comments on commit 014cd61

Please sign in to comment.