From e1469a5eec27245022fd47c223faaf97eaebefad Mon Sep 17 00:00:00 2001 From: MickGe Date: Tue, 8 Nov 2022 22:04:44 +0000 Subject: [PATCH] Fix: Assets in production environment Closes #1197 --- lib/web/endpoint.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/web/endpoint.ex b/lib/web/endpoint.ex index e080a5647..5d24620f7 100644 --- a/lib/web/endpoint.ex +++ b/lib/web/endpoint.ex @@ -48,7 +48,8 @@ defmodule Mobilizon.Web.Endpoint do at: "/", from: {:mobilizon, "priv/static"}, gzip: false, - only: ~w(index.html manifest.json service-worker.js css fonts img js favicon.ico robots.txt), + only: + ~w(index.html manifest.json service-worker.js css fonts img js favicon.ico robots.txt assets), only_matching: ["precache-manifest"] )