Enabled asset compression in prod

This commit is contained in:
Kieran Eglin 2024-04-03 14:36:22 -07:00
parent 852e1506a9
commit 6b7283c144
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -20,7 +20,7 @@ defmodule PinchflatWeb.Endpoint do
plug Plug.Static,
at: "/",
from: :pinchflat,
gzip: false,
gzip: Mix.env() == :prod,
only: PinchflatWeb.static_paths()
# Code reloading can be explicitly enabled under the