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/Server/Frontend/Routes.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Server/Frontend/Routes.hs') 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 -- cgit v1.2.3