mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: reference the alternative geoplugin domain
http://www.geoplugin.net/json.gp is accessible but http://www.geoplugin.net/ is not, great.. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
027a9881cd
commit
e40d992f82
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ static const QChar s_weatherdataseparator = QChar::fromLatin1('#');
|
|||
// alternatively:
|
||||
// https://location.services.mozilla.com/v1/geolocate?key=b9255e08-838f-4d4e-b270-bec2cc89719b
|
||||
// https://location.services.mozilla.com/v1/country?key=b9255e08-838f-4d4e-b270-bec2cc89719b
|
||||
static const QString s_geoname = QString::fromLatin1("geoplugin.net");
|
||||
static const QString s_geourl = QString::fromLatin1("http://www.geoplugin.net");
|
||||
static const QString s_geoname = QString::fromLatin1("geoplugin.com");
|
||||
// NOTE: http://www.geoplugin.net may be blocked (see https://groups.google.com/g/geoplugin/c/kufe67DXIgE)
|
||||
static const QString s_geourl = QString::fromLatin1("http://www.geoplugin.com");
|
||||
static const QString s_geoapiurl = QString::fromLatin1("http://www.geoplugin.net/json.gp");
|
||||
// the usual data length multiplied by 2
|
||||
static const int s_geomaxsize = 2000;
|
||||
|
|
Loading…
Add table
Reference in a new issue