diff --git a/core/http/web_node.cpp b/core/http/web_node.cpp index be259ff..62033a7 100644 --- a/core/http/web_node.cpp +++ b/core/http/web_node.cpp @@ -118,6 +118,11 @@ void WebNode::set_database(Database *db) { #endif void WebNode::handle_request_main(Request *request) { + if (!_routing_enabled) { + _handle_request_main(request); + return; + } + if (!try_route_request_to_children(request)) { _handle_request_main(request); }