Disable Cldr warning that it didn't match any language

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-06-26 17:56:42 +02:00
parent b1eeebe05a
commit 93297931bb
2 changed files with 8 additions and 3 deletions

View File

@@ -37,7 +37,8 @@ defmodule Mobilizon.Web.Router do
plug(:put_secure_browser_headers)
plug(Cldr.Plug.AcceptLanguage,
cldr_backend: Mobilizon.Cldr
cldr_backend: Mobilizon.Cldr,
no_match_log_level: :debug
)
end
@@ -50,7 +51,8 @@ defmodule Mobilizon.Web.Router do
plug(Plug.Static, at: "/", from: "priv/static")
plug(Cldr.Plug.AcceptLanguage,
cldr_backend: Mobilizon.Cldr
cldr_backend: Mobilizon.Cldr,
no_match_log_level: :debug
)
plug(:accepts, ["html"])