feat: migration to phoenix 1.8 - merge changed files
This commit is contained in:
parent
50832da885
commit
0334260de5
13 changed files with 233 additions and 453 deletions
|
|
@ -17,12 +17,13 @@ defmodule MvWeb.Endpoint do
|
|||
|
||||
# Serve at "/" the static files from "priv/static" directory.
|
||||
#
|
||||
# You should set gzip to true if you are running phx.digest
|
||||
# when deploying your static files in production.
|
||||
# When code reloading is disabled (e.g., in production),
|
||||
# the `gzip` option is enabled to serve compressed
|
||||
# static files generated by running `phx.digest`.
|
||||
plug Plug.Static,
|
||||
at: "/",
|
||||
from: :mv,
|
||||
gzip: false,
|
||||
gzip: not code_reloading?,
|
||||
only: MvWeb.static_paths()
|
||||
|
||||
if Code.ensure_loaded?(Tidewave) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue