summaryrefslogtreecommitdiff
path: root/src/gclue-config.c
diff options
context:
space:
mode:
authorShoji Keita <awaittrot@shjk.jp>2022-11-01 22:39:17 +0900
committerShoji Keita <awaittrot@shjk.jp>2022-11-06 11:10:22 +0900
commit3f71a67b248c32b9c3db4003901ec52a67f987af (patch)
treeb5ccf4f6d5139aa427b55d6558d8510742bee839 /src/gclue-config.c
parentc8a316fd85a0a7f9b91f5953627ba7c5b9a53d04 (diff)
downloadgeoclue-3f71a67b248c32b9c3db4003901ec52a67f987af.tar.gz
mozilla: Adapt to new /v2/geosubmit API
While old /v1/submit API is still active right now, it has been deprecated since 2015. It's better to migrate to new /v2/geosubmit API.
Diffstat (limited to 'src/gclue-config.c')
-rw-r--r--src/gclue-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-config.c b/src/gclue-config.c
index ff10d58..0819bd0 100644
--- a/src/gclue-config.c
+++ b/src/gclue-config.c
@@ -220,7 +220,7 @@ load_enable_source_config (GClueConfig *config,
}
#define DEFAULT_WIFI_URL "https://location.services.mozilla.com/v1/geolocate?key=" MOZILLA_API_KEY
-#define DEFAULT_WIFI_SUBMIT_URL "https://location.services.mozilla.com/v1/submit?key=" MOZILLA_API_KEY
+#define DEFAULT_WIFI_SUBMIT_URL "https://location.services.mozilla.com/v2/geosubmit?key=" MOZILLA_API_KEY
#define DEFAULT_WIFI_SUBMIT_NICK "geoclue"
static void