Skip to content

Commit

Permalink
gzip assets xerions#248
Browse files Browse the repository at this point in the history
  • Loading branch information
maysam authored Oct 8, 2024
1 parent 2a3cc8c commit 1879663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_swagger/plug/swaggerui.ex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule PhoenixSwagger.Plug.SwaggerUI do
alias Plug.Conn

# Serve static assets before routing
plug(Plug.Static, at: "/", from: :phoenix_swagger)
plug(Plug.Static, at: "/", from: :phoenix_swagger, gzip: true)

plug(:match)
plug(:dispatch)
Expand Down

0 comments on commit 1879663

Please sign in to comment.