From a269d77044dfde47fe9f32fc7e7a60f4a37a7a7a Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 30 Oct 2020 15:15:07 +0100 Subject: [PATCH] Fix pictures not being served by Plug.Static Signed-off-by: Thomas Citharel --- lib/web/endpoint.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/web/endpoint.ex b/lib/web/endpoint.ex index 16b27d541..8a0601be7 100644 --- a/lib/web/endpoint.ex +++ b/lib/web/endpoint.ex @@ -38,8 +38,7 @@ defmodule Mobilizon.Web.Endpoint do at: "/", from: {:mobilizon, "priv/static"}, gzip: false, - only: - ~w(index.html manifest.json service-worker.js css fonts images js favicon.ico robots.txt), + only: ~w(index.html manifest.json service-worker.js css fonts img js favicon.ico robots.txt), only_matching: ["precache-manifest"] )