enable sending gzipped versions of static assets
This commit is contained in:
parent
2fe6f4c174
commit
d493a0dcdb
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ defmodule Shift73kWeb.Endpoint do
|
||||||
plug(Plug.Static,
|
plug(Plug.Static,
|
||||||
at: "/",
|
at: "/",
|
||||||
from: :shift73k,
|
from: :shift73k,
|
||||||
gzip: false,
|
gzip: true,
|
||||||
only: ~w(css fonts images js) ++ static_files
|
only: ~w(css fonts images js) ++ static_files
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue