From 9d0b5b307d16f7fed1e86034714a7ed4b00ad1fc Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 28 Jul 2021 05:00:16 +0300 Subject: [PATCH] plasma: update geolocation service URL for reference: https://github.com/fluxer/katana/issues/24 Signed-off-by: Ivailo Monev --- plasma/dataengines/geolocation/location_ip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plasma/dataengines/geolocation/location_ip.cpp b/plasma/dataengines/geolocation/location_ip.cpp index 53bcc3e7..e0725d57 100644 --- a/plasma/dataengines/geolocation/location_ip.cpp +++ b/plasma/dataengines/geolocation/location_ip.cpp @@ -81,11 +81,11 @@ Ip::~Ip() void Ip::update() { d->payload.clear(); - KIO::TransferJob *datajob = KIO::get(KUrl("http://api.hostip.info/get_html.php?position=true"), + KIO::TransferJob *datajob = KIO::get(KUrl("https://api.hostip.info/get_html.php?position=true"), KIO::NoReload, KIO::HideProgressInfo); if (datajob) { - kDebug() << "Fetching http://api.hostip.info/get_html.php?position=true"; + kDebug() << "Fetching https://api.hostip.info/get_html.php?position=true"; connect(datajob, SIGNAL(data(KIO::Job*,QByteArray)), this, SLOT(readData(KIO::Job*,QByteArray))); connect(datajob, SIGNAL(result(KJob*)), this, SLOT(result(KJob*))); -- 2.11.0