aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gps-track7
1 files changed, 3 insertions, 4 deletions
diff --git a/gps-track b/gps-track
index 5fbe240..31e12e9 100644
--- a/gps-track
+++ b/gps-track
@@ -14,12 +14,11 @@
:global LogPrintExit;
-:local CoordinateFormat [ /system gps get coordinate-format ];
+:local CoordinateFormat [ / system gps get coordinate-format ];
:local Gps [ / system gps monitor once as-value ];
-if ($Gps->"valid" = true) do={
- :tool fetch check-certificate=yes-without-crl \
- $GpsTrackUrl output=none \
+:if ($Gps->"valid" = true) do={
+ / tool fetch check-certificate=yes-without-crl $GpsTrackUrl output=none \
http-method=post http-header-field="Content-Type: application/json" \
http-data=("{" . \
"\"lat\":\"" . ($Gps->"latitude") . "\"," . \