Always use index.html as default page

This commit is contained in:
CzBiX 2019-04-13 18:41:29 +08:00
parent 19dfec1e0a
commit d254a98662
3 changed files with 2 additions and 4 deletions

View file

@ -156,9 +156,7 @@ void WebApplication::sendWebUIFile()
const QString path {
(request().path != QLatin1String("/")
? request().path
: (session()
? QLatin1String("/index.html")
: QLatin1String("/login.html")))
: QLatin1String("/index.html"))
};
QString localPath {