diff options
| author | stuebinm | 2026-05-13 00:05:37 +0200 |
|---|---|---|
| committer | stuebinm | 2026-05-13 00:05:37 +0200 |
| commit | dbb5c4b6b882cd99981eb854386586854a23fdec (patch) | |
| tree | 7cf698de3ceae355e9f040a6563b1139be029b99 /lib/Server/Frontend/Routes.hs | |
| parent | d668e36403c293c86f761e4ac9f902cda73f4a7d (diff) | |
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.hs | 1 |
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 |
