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 /data | |
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 'data')
-rw-r--r-- | data/geoclue.5.in | 2 | ||||
-rw-r--r-- | data/geoclue.conf.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/geoclue.5.in b/data/geoclue.5.in index b6a5795..c9210f9 100644 --- a/data/geoclue.5.in +++ b/data/geoclue.5.in @@ -76,7 +76,7 @@ Submit data to Mozilla Location Service If set to true, geoclue will automatically submit network data to Mozilla each time it gets a GPS lock. .IP -.B submission-url=\fIhttps://location.services.mozilla.com/v1/submit?key=geoclue +.B submission-url=\fIhttps://location.services.mozilla.com/v2/geosubmit?key=YOUR_KEY .br URL to submission API of Mozilla Location Service .IP diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in index eac32b8..8006cda 100644 --- a/data/geoclue.conf.in +++ b/data/geoclue.conf.in @@ -75,7 +75,7 @@ submit-data=false # URL to submission API of Mozilla Location Service. If not set, defaults to # Mozilla's API with a hardcoded key. To use a custom key, uncomment this URL # while changing YOUR_KEY to your MLS API key. -#submission-url=https://location.services.mozilla.com/v1/submit?key=YOUR_KEY +#submission-url=https://location.services.mozilla.com/v2/geosubmit?key=YOUR_KEY # A nickname to submit network data with. A nickname must be 2-32 characters long. submission-nick=geoclue |