From 236862c9857aabaac2e71b267b8cedae5744b2ec Mon Sep 17 00:00:00 2001 From: Anon2026 Date: Sun, 18 Jan 2026 16:31:40 +0300 Subject: [PATCH] Fix webconsole: add 'http.webroot' in some buttons --- daemon/HTTPServer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 445f1c8e..332b30b4 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -467,6 +467,7 @@ namespace http { static void ShowLeaseSetDestination (std::stringstream& s, std::shared_ptr dest, uint32_t token) { + std::string webroot; i2p::config::GetOption("http.webroot", webroot); s << "Base32:
\r\n
\r\n
\r\n"; @@ -515,7 +516,7 @@ namespace http { { s << "" << "" << it.first.ToBase32 () << "" - << "" << "" << (int)it.second->GetStoreType () << "" << "" << (int)it.second->GetEncryptionType () <<"" @@ -618,6 +619,7 @@ namespace http { void ShowLocalDestination (std::stringstream& s, const std::string& b32, uint32_t token) { + std::string webroot; i2p::config::GetOption("http.webroot", webroot); s << "" << tr("Local Destination") << ":
\r\n
\r\n"; i2p::data::IdentHash ident; ident.FromBase32 (b32); @@ -651,7 +653,7 @@ namespace http { s << ""; s << "" << it->GetRecvStreamID () << ""; if (it->GetRecvStreamID ()) { - s << ""; } else {