1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Merge pull request #7402 from comradekingu/patch-2

Spelling: HTTP/HTTPS
This commit is contained in:
Mike Tzou 2017-09-08 20:12:27 +08:00 committed by GitHub
commit 93ed8e98c1

View File

@ -79,9 +79,9 @@ void WebUI::init()
const QByteArray key = pref->getWebUiHttpsKey(); const QByteArray key = pref->getWebUiHttpsKey();
bool success = m_httpServer->setupHttps(certs, key); bool success = m_httpServer->setupHttps(certs, key);
if (success) if (success)
logger->addMessage(tr("Web UI: https setup successful")); logger->addMessage(tr("Web UI: HTTPS setup successful"));
else else
logger->addMessage(tr("Web UI: https setup failed, fallback to http"), Log::CRITICAL); logger->addMessage(tr("Web UI: HTTPS setup failed, fallback to HTTP"), Log::CRITICAL);
} }
else { else {
m_httpServer->disableHttps(); m_httpServer->disableHttps();