Load only a few locales in dev environment

No need to load everything

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-11-06 11:25:58 +01:00
parent dd9b76066c
commit 7baad7cafc
3 changed files with 30 additions and 20 deletions

View File

@@ -92,6 +92,13 @@ config :mobilizon, :instance,
# config :mobilizon, :activitypub, sign_object_fetches: false
# No need to compile every locale in development environment
config :mobilizon, :cldr,
locales: [
"fr",
"en"
]
config :mobilizon, :anonymous,
reports: [
allowed: true