]> granicus.if.org Git - ejabberd/commitdiff
Fix typo
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Thu, 18 Jul 2019 19:35:16 +0000 (22:35 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Thu, 18 Jul 2019 19:35:16 +0000 (22:35 +0300)
src/ejabberd_options.erl

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