open torrents web page in another tab. Don't return Content-Typo for unknown type

This commit is contained in:
orignal
2026-10-13 15:40:02 -04:00
parent f946ed6a12
commit 2ff3cd6eee
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -1255,8 +1255,8 @@ namespace http {
std::string jsRedir = "this.href = location.protocol + '//' + location.hostname + ':' + " + std::to_string(rpcPort) + " + '" + webPath + "/web/'";
s << "<a href='http://localhost:" << rpcPort << webPath << "/web/' "
<< "onmouseover=\"" << jsRedir << "\" "
<< "onclick=\"" << jsRedir << "\">"
<< "onmouseover=\"" << jsRedir << "\" target=\"_blank\" rel=\"noopener noreferrer\""
<< "onclick=\"" << jsRedir << "\" target=\"_blank\" rel=\"noopener noreferrer\">"
<< " | Web Panel</a>";
}
s << "</div>\r\n"<< std::endl;