Merge pull request #8411 from thalesmg/fix-list-diff-prec

fix: fix list difference precedence
This commit is contained in:
Zaiming (Stone) Shi 2022-07-04 22:30:53 +01:00 committed by GitHub
commit 6cbc91f60f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,13 @@ File format:
- One list item per change topic - One list item per change topic
Change log ends with a list of github PRs Change log ends with a list of github PRs
## v4.3.17
### Bug fixes
- Fixed issue where the dashboard APIs were being exposed under the
management listener. [#8411]
## v4.3.16 ## v4.3.16
### Enhancements ### Enhancements

View File

@ -91,7 +91,7 @@ listener_name(Proto) ->
http_handlers() -> http_handlers() ->
Plugins = lists:map(fun(Plugin) -> Plugin#plugin.name end, emqx_plugins:list()), Plugins = lists:map(fun(Plugin) -> Plugin#plugin.name end, emqx_plugins:list()),
[{"/api/v4", minirest:handler(#{apps => Plugins ++ [emqx_modules] -- ?EXCEPT_PLUGIN, [{"/api/v4", minirest:handler(#{apps => (Plugins ++ [emqx_modules]) -- ?EXCEPT_PLUGIN,
except => ?EXCEPT, except => ?EXCEPT,
filter => fun ?MODULE:filter/1}), filter => fun ?MODULE:filter/1}),
[{authorization, fun ?MODULE:authorize_appid/1}]}]. [{authorization, fun ?MODULE:authorize_appid/1}]}].