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
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 8 additions and 3 deletions

View file

@ -4,3 +4,6 @@
752C0E897CA81ACD81F4BB215FA5F8E4 752C0E897CA81ACD81F4BB215FA5F8E4
23412CF16549E4E88366DC9DECF39071 23412CF16549E4E88366DC9DECF39071
81C1F600C5809C7029EE32DE4818CD7D 81C1F600C5809C7029EE32DE4818CD7D
155A1FB53DE39EC8EFCFD7FB94EA823D
73B351E4CB3AF715AD450A085F5E6304
BBACD7F0BACD4A6D3010C26604671692

View file

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