From dbb5c4b6b882cd99981eb854386586854a23fdec Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 13 May 2026 00:05:37 +0200 Subject: Server.Frontend.Tracker: dedicated configuration menu There is no back-channel with which we could retrieve the config that is currently on an owntracks client. However, we can send out each config with its own slightly tweaked host url, so that we can detect its provisioning on the incoming requests anyways. Credits for the idea go to Emily. --- lib/OwnTracks/Configuration.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/OwnTracks') diff --git a/lib/OwnTracks/Configuration.hs b/lib/OwnTracks/Configuration.hs index 0cb361d..a10a46e 100644 --- a/lib/OwnTracks/Configuration.hs +++ b/lib/OwnTracks/Configuration.hs @@ -91,6 +91,7 @@ data Configuration = Configuration -- ^ Add extended data attributes to location messages (iOS,Android/boolean) , configHost :: Maybe Text -- ^ MQTT endpoint host (iOS,Android/string) + -- FIXME: structured type here? , configHttpHeaders :: Maybe Text -- ^ extra HTTP headers:field names and field content are separated by a colon (:), multiple fields by a backslash-n (\n) \:\\n\:\... (iOS only/string) , configIgnoreInaccurateLocations :: Maybe Int -- cgit v1.2.3