aboutsummaryrefslogtreecommitdiff
path: root/lib/Server/Frontend/Routes.hs
diff options
context:
space:
mode:
authorstuebinm2026-05-13 00:05:37 +0200
committerstuebinm2026-05-13 00:05:37 +0200
commitdbb5c4b6b882cd99981eb854386586854a23fdec (patch)
tree7cf698de3ceae355e9f040a6563b1139be029b99 /lib/Server/Frontend/Routes.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/Server/Frontend/Routes.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Server/Frontend/Routes.hs b/lib/Server/Frontend/Routes.hs
index d6b82e2..684d69d 100644
--- a/lib/Server/Frontend/Routes.hs
+++ b/lib/Server/Frontend/Routes.hs
@@ -49,6 +49,7 @@ mkYesodData "Frontend" [parseRoutes|
/tracker/#Text TrackerViewR GET
/tracker/#Text/delete TrackerDeleteR POST
/tracker/#Text/command TrackerCommandR POST
+/tracker/#Text/config TrackerConfigR POST
/ticker/announce TickerAnnounceR POST
/ticker/delete TickerDeleteR POST