mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-26 14:21:36 -04:00
Use OPDS stream via HTTPs
This commit is contained in:
parent
95914e46a8
commit
4e007146d7
@ -8,7 +8,7 @@ OpdsRequestManager::OpdsRequestManager()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define CATALOG_HOST "library.kiwix.org"
|
#define CATALOG_HOST "library.kiwix.org"
|
||||||
#define CATALOG_PORT 80
|
#define CATALOG_PORT 443
|
||||||
void OpdsRequestManager::doUpdate(const QString& currentLanguage, const QString& categoryFilter)
|
void OpdsRequestManager::doUpdate(const QString& currentLanguage, const QString& categoryFilter)
|
||||||
{
|
{
|
||||||
QUrlQuery query;
|
QUrlQuery query;
|
||||||
@ -32,7 +32,7 @@ void OpdsRequestManager::doUpdate(const QString& currentLanguage, const QString&
|
|||||||
|
|
||||||
|
|
||||||
QUrl url;
|
QUrl url;
|
||||||
url.setScheme("http");
|
url.setScheme("https");
|
||||||
url.setHost(CATALOG_HOST);
|
url.setHost(CATALOG_HOST);
|
||||||
url.setPort(CATALOG_PORT);
|
url.setPort(CATALOG_PORT);
|
||||||
url.setPath("/catalog/search");
|
url.setPath("/catalog/search");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user