attempt to fix static asset serving

This commit is contained in:
Adam Piontek 2021-04-06 12:12:30 -04:00
parent 79665e3a91
commit 6a86a958a5

View file

@ -24,7 +24,7 @@ defmodule Home73kWeb.Endpoint do
at: "/",
from: :home73k,
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_reloader configuration of your endpoint.