Enabled asset compression in prod
This commit is contained in:
parent
852e1506a9
commit
6b7283c144
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ defmodule PinchflatWeb.Endpoint do
|
||||||
plug Plug.Static,
|
plug Plug.Static,
|
||||||
at: "/",
|
at: "/",
|
||||||
from: :pinchflat,
|
from: :pinchflat,
|
||||||
gzip: false,
|
gzip: Mix.env() == :prod,
|
||||||
only: PinchflatWeb.static_paths()
|
only: PinchflatWeb.static_paths()
|
||||||
|
|
||||||
# Code reloading can be explicitly enabled under the
|
# Code reloading can be explicitly enabled under the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue