Fix pictures not being served by Plug.Static
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
af6ed8a3c2
commit
a269d77044
|
@ -38,8 +38,7 @@ defmodule Mobilizon.Web.Endpoint do
|
||||||
at: "/",
|
at: "/",
|
||||||
from: {:mobilizon, "priv/static"},
|
from: {:mobilizon, "priv/static"},
|
||||||
gzip: false,
|
gzip: false,
|
||||||
only:
|
only: ~w(index.html manifest.json service-worker.js css fonts img js favicon.ico robots.txt),
|
||||||
~w(index.html manifest.json service-worker.js css fonts images js favicon.ico robots.txt),
|
|
||||||
only_matching: ["precache-manifest"]
|
only_matching: ["precache-manifest"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue