Skip to content

Commit 1879663

Browse files
authored
gzip assets xerions#248
1 parent 2a3cc8c commit 1879663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/phoenix_swagger/plug/swaggerui.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule PhoenixSwagger.Plug.SwaggerUI do
2222
alias Plug.Conn
2323

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

2727
plug(:match)
2828
plug(:dispatch)

0 commit comments

Comments
 (0)