aboutsummaryrefslogtreecommitdiff
path: root/lib/OwnTracks/Configuration.hs
diff options
context:
space:
mode:
authorstuebinm2026-05-13 00:05:37 +0200
committerstuebinm2026-05-13 00:05:37 +0200
commitdbb5c4b6b882cd99981eb854386586854a23fdec (patch)
tree7cf698de3ceae355e9f040a6563b1139be029b99 /lib/OwnTracks/Configuration.hs
parentd668e36403c293c86f761e4ac9f902cda73f4a7d (diff)
Server.Frontend.Tracker: dedicated configuration menuHEADmain
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.
Diffstat (limited to '')
-rw-r--r--lib/OwnTracks/Configuration.hs1
1 files changed, 1 insertions, 0 deletions
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) \<field-name>:\<field-content>\n\<field-name>:\<field-content>... (iOS only/string)
, configIgnoreInaccurateLocations :: Maybe Int