diff --git a/src/webui/abstractwebapplication.cpp b/src/webui/abstractwebapplication.cpp index ffc831924..da78b172b 100644 --- a/src/webui/abstractwebapplication.cpp +++ b/src/webui/abstractwebapplication.cpp @@ -194,7 +194,7 @@ bool AbstractWebApplication::readFile(const QString& path, QByteArray &data, QSt QString dataStr = QString::fromUtf8(data.constData()); translateDocument(dataStr); - if (path.endsWith("about.html")) + if (path.endsWith("about.html") || path.endsWith("index.html") || path.endsWith("client.js")) dataStr.replace("${VERSION}", VERSION); data = dataStr.toUtf8(); diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index 96c7db16d..769b43662 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -3,7 +3,7 @@
-