From 2c6c664ccb90e6e268a4a9870579e2d87db30270 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 19 Aug 2024 18:43:37 +0300 Subject: [PATCH] firefox & geoclue: point to api.beacondb.net for beacondb Functionally identical without need to change, but pointed out for scaling up and routing traffic differently if necessary. Ref: https://matrix.to/#/matrix.org/$nh0IGqWhdROr-xXAMD9hZxMqyUDgfy6DOabKzh6YPaQ?via=matrix.org&via=tchncs.de&via=nitro.chat --- etc/firefox/policies/policies.json | 2 +- etc/geoclue/conf.d/beacondb.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index 36130bd9..88b356f7 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -643,7 +643,7 @@ "Status": "locked", "Type": "string", "Value": "", - "Value_beacondb": "https://beacondb.net/v1/geolocate", + "Value_beacondb": "https://api.beacondb.net/v1/geolocate", "Value_positon": "https://api.positon.xyz/?key=74600654-2aec-11ef-aa95-3b7218da6865" }, "geo.provider.use_geoclue": { diff --git a/etc/geoclue/conf.d/beacondb.conf b/etc/geoclue/conf.d/beacondb.conf index 300a732a..3cf323a9 100644 --- a/etc/geoclue/conf.d/beacondb.conf +++ b/etc/geoclue/conf.d/beacondb.conf @@ -1,10 +1,10 @@ # https://beacondb.net & https://beacondb.net/map [wifi] enable=true -url=https://beacondb.net/v1/geolocate +url=https://api.beacondb.net/v1/geolocate # Contributing back submit-data=true -submission-url=https://beacondb.net/v2/geosubmit +submission-url=https://api.beacondb.net/v2/geosubmit # I doubt this is used, but explicitly set just in case of it suddenly # becoming $(whoami) submission-nick=geoclue