Fix WebUI greeting for qbittorrent-nox

* Check if WebUI is enabled and print an appropriate message otherwise.
* Print an actual runtime server scheme, address and port.

PR #19696.
This commit is contained in:
Hanabishi 2023-10-16 11:48:32 +05:00 committed by GitHub
parent e6ec3d0c2b
commit 90e023f138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 57 additions and 13 deletions

View file

@ -181,3 +181,8 @@ void Server::disableHttps()
m_certificates.clear();
m_key.clear();
}
bool Server::isHttps() const
{
return m_https;
}