Disable Cldr warning that it didn't match any language
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b1eeebe05a
commit
93297931bb
@ -3,4 +3,7 @@
|
|||||||
|
|
||||||
752C0E897CA81ACD81F4BB215FA5F8E4
|
752C0E897CA81ACD81F4BB215FA5F8E4
|
||||||
23412CF16549E4E88366DC9DECF39071
|
23412CF16549E4E88366DC9DECF39071
|
||||||
81C1F600C5809C7029EE32DE4818CD7D
|
81C1F600C5809C7029EE32DE4818CD7D
|
||||||
|
155A1FB53DE39EC8EFCFD7FB94EA823D
|
||||||
|
73B351E4CB3AF715AD450A085F5E6304
|
||||||
|
BBACD7F0BACD4A6D3010C26604671692
|
@ -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"])
|
||||||
|
Loading…
Reference in New Issue
Block a user