1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-25 09:22:22 +00:00

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

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