server info link fix

master
const an teen 2021-12-30 13:30:22 -05:00
parent 3b5bdc62e2
commit a7cde08ada
1 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ void HttpServer::writeMainPage(QTcpSocket *socket, QString &urlPath, bool isHead
if (s.first.isEmpty()) continue; // empty server name?
QString htmlServersSection = HTML_SERVER_SECTION;
replaceTag(htmlServersSection, "ABOUT_SERVER", "/serverinformation/"+server);
replaceTag(htmlServersSection, "ABOUT_SERVER", "/serverinformation/"+s.first);
replaceTag(htmlServersSection, "SERVER_NAME", s.first);
QString htmlChannelLineS;
@ -1383,7 +1383,7 @@ void HttpServer::writeAboutServerPage(QTcpSocket *socket, QString &urlPath, bool
htmlServersSection.replace("<div class=\"left_menu__item\">",
"<div class=\"left_menu__item\" style=\"background: #f0f5fa\">");
}
replaceTag(htmlServersSection, "ABOUT_SERVER", "/serverinformation/"+server);
replaceTag(htmlServersSection, "ABOUT_SERVER", "/serverinformation/"+s.first);
replaceTag(htmlServersSection, "SERVER_NAME", s.first);
if (s.first == originalServerName) {
htmlServersSection.replace("<span style=\"font-size: 17px;\">{{ONLINE_STATUS}}",