enable sending gzip version of static files
This commit is contained in:
parent
60d89610ce
commit
42092b6dce
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ defmodule Bones73kWeb.Endpoint do
|
||||||
plug(Plug.Static,
|
plug(Plug.Static,
|
||||||
at: "/",
|
at: "/",
|
||||||
from: :bones73k,
|
from: :bones73k,
|
||||||
gzip: false,
|
gzip: true,
|
||||||
only: ~w(css fonts images js favicon.ico robots.txt)
|
only: ~w(css fonts images js favicon.ico robots.txt)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue