enable sending gzip version of static files

This commit is contained in:
Adam Piontek 2021-03-27 08:11:06 -04:00
parent 60d89610ce
commit 42092b6dce

View file

@ -24,7 +24,7 @@ defmodule Bones73kWeb.Endpoint do
plug(Plug.Static,
at: "/",
from: :bones73k,
gzip: false,
gzip: true,
only: ~w(css fonts images js favicon.ico robots.txt)
)