Send static files gzipped
This commit is contained in:
parent
c76502a707
commit
5e3b8cc4c9
@ -8,7 +8,7 @@ defmodule Asciinema.Endpoint do
|
||||
# You should set gzip to true if you are running phoenix.digest
|
||||
# when deploying your static files in production.
|
||||
plug Plug.Static,
|
||||
at: "/", from: :asciinema, gzip: false,
|
||||
at: "/", from: :asciinema, gzip: true,
|
||||
only: ~w(css fonts images js favicon.ico robots.txt)
|
||||
|
||||
# Code reloading can be explicitly enabled under the
|
||||
|
Loading…
Reference in New Issue
Block a user