Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Jan 2, 2024
1 parent 7c216fd commit 2effb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/web/http/web_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2effb79

Please sign in to comment.