diff options
author | Shoji Keita <awaittrot@shjk.jp> | 2022-11-01 22:39:17 +0900 |
---|---|---|
committer | Shoji Keita <awaittrot@shjk.jp> | 2022-11-06 11:10:22 +0900 |
commit | 3f71a67b248c32b9c3db4003901ec52a67f987af (patch) | |
tree | b5ccf4f6d5139aa427b55d6558d8510742bee839 /src/gclue-config.c | |
parent | c8a316fd85a0a7f9b91f5953627ba7c5b9a53d04 (diff) | |
download | geoclue-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.c | 2 |
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 |