mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-20 16:43:07 +00:00
open torrents web page in another tab. Don't return Content-Typo for unknown type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user