Merge branch 'develop' of https://github.com/emqtt/emqttd into develop
This commit is contained in:
commit
5476288ab3
|
@ -31,7 +31,7 @@
|
||||||
handle_request(Req) ->
|
handle_request(Req) ->
|
||||||
handle_request(Req:get(method), Req:get(path), Req).
|
handle_request(Req:get(method), Req:get(path), Req).
|
||||||
|
|
||||||
handle_request('GET', "/status", Req) ->
|
handle_request(Method, "/status", Req) when Method =:= 'HEAD'; Method =:= 'GET' ->
|
||||||
{InternalStatus, _ProvidedStatus} = init:get_status(),
|
{InternalStatus, _ProvidedStatus} = init:get_status(),
|
||||||
AppStatus =
|
AppStatus =
|
||||||
case lists:keysearch(emqttd, 1, application:which_applications()) of
|
case lists:keysearch(emqttd, 1, application:which_applications()) of
|
||||||
|
|
Loading…
Reference in New Issue