From cdc587fdf3d1d243209c4c099b409c5504317244 Mon Sep 17 00:00:00 2001 From: Marius Lindvall Date: Sat, 25 Jan 2020 13:21:56 +0100 Subject: [PATCH] Explain how to check versions; see #25 --- FAQ.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/FAQ.md b/FAQ.md index 6a888cb..a3c0aab 100644 --- a/FAQ.md +++ b/FAQ.md @@ -22,6 +22,19 @@ Yes. You should ideally only allow traffic to port 443 with HTTPS. If clients co You forgot to set the `public_url` setting in the config file. +### How can I check which version of Hauk I am running? + +The app version can be checked in two ways. For version >= 1.6, open the app, go to the Settings menu and scroll down to "About Hauk". For older versions, open your device's Settings, go to Apps, find Hauk and check the version number there. + +The backend version can be checked by running *either* of the following commands in a terminal: + +```sh +curl -o /dev/null -D - https://YOUR_HAUK_URL/api/create.php 2>/dev/null | grep X-Hauk-Version +wget -o /dev/null -O - --save-headers https://YOUR_HAUK_URL/api/create.php | grep X-Hauk-Version +``` + +You can also look for the `BACKEND_VERSION` line near the top of the file `include/inc.php` on the backend. + # Privacy ### Who can see my location data?