From 2effb794fd3008102e3990532be41e66077e85b4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 2 Jan 2024 10:55:42 +0100 Subject: [PATCH] Fixed typo. --- modules/web/http/web_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/http/web_node.cpp b/modules/web/http/web_node.cpp index c634cc4fb..ecdc11102 100644 --- a/modules/web/http/web_node.cpp +++ b/modules/web/http/web_node.cpp @@ -85,7 +85,7 @@ String WebNode::get_full_uri_parent(const bool slash_at_the_end) { _rw_lock.read_unlock(); if (!slash_at_the_end) { - uri.resize(uri.length() - 1); + uri.set_length(uri.length() - 1); } return uri;