25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00
This commit is contained in:
Evgeny Khramtsov 2019-07-18 22:35:16 +03:00
parent 6d6e3e348d
commit 55d42b9000

View File

@ -396,7 +396,7 @@ opt_type(websocket_timeout) ->
econf:timeout(second); econf:timeout(second);
opt_type(jwt_key) -> opt_type(jwt_key) ->
econf:and_then( econf:and_then(
econf:file(), econf:path(),
fun(Path) -> fun(Path) ->
case file:read_file(Path) of case file:read_file(Path) of
{ok, Data} -> {ok, Data} ->