[chronojump] ForceSensor/RunEncoder url relative on SQLUpdate



commit 076db6224d4090e8e97bfdf4bbd53684a4d8904b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Sep 18 16:36:37 2019 +0200

    ForceSensor/RunEncoder url relative on SQLUpdate

 src/forceSensor.cs | 2 +-
 src/runEncoder.cs  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/forceSensor.cs b/src/forceSensor.cs
index b8bb81ed..9af80a94 100644
--- a/src/forceSensor.cs
+++ b/src/forceSensor.cs
@@ -104,7 +104,7 @@ public class ForceSensor
                        "\", angle = " + angle +
                        ", laterality = \"" + laterality +
                        "\", filename = \"" + filename +
-                       "\", url = \"" + url +
+                       "\", url = \"" + Util.MakeURLrelative(url) +
                        "\", dateTime = \"" + dateTime +
                        "\", comments = \"" + comments +
                        "\", videoURL = \"" + Util.MakeURLrelative(videoURL) +
diff --git a/src/runEncoder.cs b/src/runEncoder.cs
index 161c8374..d522e895 100644
--- a/src/runEncoder.cs
+++ b/src/runEncoder.cs
@@ -107,7 +107,7 @@ public class RunEncoder
                        "\", distance = " + distance +
                        ", temperature = " + temperature +
                        ", filename = \"" + filename +
-                       "\", url = \"" + url +
+                       "\", url = \"" + Util.MakeURLrelative(url) +
                        "\", dateTime = \"" + dateTime +
                        "\", comments = \"" + comments +
                        "\", videoURL = \"" + Util.MakeURLrelative(videoURL) +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]