root date link for middle path

master
const an teen 2021-12-06 02:07:47 -05:00
parent a83df8b12c
commit 4a5086a600
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ void HttpServer::writeMainPage(QTcpSocket *socket, QString &urlPath)
replaceTag(page, "MAIN_HEADER", originalChannelName);
QString middlePath = "/";
QString middlePath = "<a style=\"text-decoration: none\" href=\"/"+server+"/"+channel+"\">" + "/" + "</a>";
if (not year.isEmpty()) {
middlePath += "<a style=\"text-decoration: none\" href=\"/"+server+"/"+channel+"/"+year+"\">" + year + "</a>";
if (not month.isEmpty()) {