mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Merge pull request #10485 from CzBiX/login_page
Always use index.html as default page
This commit is contained in:
commit
08b4cce72a
@ -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 {
|
||||
|
@ -50,7 +50,7 @@
|
||||
<file>private/uploadlimit.html</file>
|
||||
<file>public/css/login.css</file>
|
||||
<file>public/css/noscript.css</file>
|
||||
<file>public/login.html</file>
|
||||
<file>public/index.html</file>
|
||||
<file>public/scripts/login.js</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
x
Reference in New Issue
Block a user