diff options
-rw-r--r-- | src/chttpd/src/chttpd_misc.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chttpd/src/chttpd_misc.erl b/src/chttpd/src/chttpd_misc.erl index efa7ef338..5aa9aaf97 100644 --- a/src/chttpd/src/chttpd_misc.erl +++ b/src/chttpd/src/chttpd_misc.erl @@ -269,6 +269,8 @@ handle_uuids_req(Req) -> % Node-specific request handler (_config and _stats) % Support _local meaning this node +handle_node_req(#httpd{path_parts=[_, <<"_local">>]}=Req) -> + send_json(Req, 200, {[{name, node()}]}); handle_node_req(#httpd{path_parts=[A, <<"_local">>|Rest]}=Req) -> handle_node_req(Req#httpd{path_parts=[A, node()] ++ Rest}); % GET /_node/$node/_config |