Make error message more general
This commit is contained in:
parent
6cb4dc7429
commit
d2633ceaa6
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,6 @@ if (isset($_GET["lat"]) && preg_match("/^-?\d+\.\d+$/", $_GET["lat"])
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
header('HTTP/1.0 400 Bad Request');
|
header('HTTP/1.0 400 Bad Request');
|
||||||
echo 'Please type this URL in the <a href="https://play.google.com/store/apps/details?id=fr.herverenault.selfhostedgpstracker">Self-Hosted GPS Tracker</a> Android app on your phone.';
|
echo 'This is an endpoint for compatible GPS trackers only.';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue