diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 00753cca..1d3d7a5d 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -417,7 +417,7 @@ namespace http { s << "\r\n\r\n"; } - if(dest->IsPublic()) + if(dest->IsPublic() && token) { std::string webroot; i2p::config::GetOption("http.webroot", webroot); auto base32 = dest->GetIdentHash ().ToBase32 ();