Fix: Assets in production environment

Closes #1197
This commit is contained in:
MickGe 2022-11-08 22:04:44 +00:00 committed by Thomas Citharel
parent d861689970
commit e1469a5eec
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 2 additions and 1 deletions

View File

@ -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"]
)