attempt to fix static asset serving
This commit is contained in:
parent
79665e3a91
commit
6a86a958a5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ defmodule Home73kWeb.Endpoint do
|
||||||
at: "/",
|
at: "/",
|
||||||
from: :home73k,
|
from: :home73k,
|
||||||
gzip: (Mix.env() not in [:dev, :test]),
|
gzip: (Mix.env() not in [:dev, :test]),
|
||||||
only: File.ls!("priv/static")
|
only: "priv/static" |> Path.expand() |> File.ls!()
|
||||||
|
|
||||||
# Code reloading can be explicitly enabled under the
|
# Code reloading can be explicitly enabled under the
|
||||||
# :code_reloader configuration of your endpoint.
|
# :code_reloader configuration of your endpoint.
|
||||||
|
|
Loading…
Reference in a new issue