Send static files gzipped

This commit is contained in:
Marcin Kulik 2016-10-20 22:29:49 +00:00
parent c76502a707
commit 5e3b8cc4c9

View File

@ -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