mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Always use index.html as default page
This commit is contained in:
parent
19dfec1e0a
commit
d254a98662
3 changed files with 2 additions and 4 deletions
|
@ -156,9 +156,7 @@ void WebApplication::sendWebUIFile()
|
||||||
const QString path {
|
const QString path {
|
||||||
(request().path != QLatin1String("/")
|
(request().path != QLatin1String("/")
|
||||||
? request().path
|
? request().path
|
||||||
: (session()
|
: QLatin1String("/index.html"))
|
||||||
? QLatin1String("/index.html")
|
|
||||||
: QLatin1String("/login.html")))
|
|
||||||
};
|
};
|
||||||
|
|
||||||
QString localPath {
|
QString localPath {
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
<file>private/uploadlimit.html</file>
|
<file>private/uploadlimit.html</file>
|
||||||
<file>public/css/login.css</file>
|
<file>public/css/login.css</file>
|
||||||
<file>public/css/noscript.css</file>
|
<file>public/css/noscript.css</file>
|
||||||
<file>public/login.html</file>
|
<file>public/index.html</file>
|
||||||
<file>public/scripts/login.js</file>
|
<file>public/scripts/login.js</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue