fix(dashboard): use correct default for listeners map

This commit is contained in:
Andrew Mayorov 2023-03-23 00:02:48 +03:00
parent 4e909e4ece
commit 9a93b745fc
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ i18n_file() ->
end.
listeners() ->
emqx_conf:get([dashboard, listeners], []).
emqx_conf:get([dashboard, listeners], #{}).
api_key_authorize(Req, Key, Secret) ->
Path = cowboy_req:path(Req),