diff --git a/.gitea/workflows/on_push.yaml b/.gitea/workflows/on_push.yaml index 87d7f2d..838d5c2 100644 --- a/.gitea/workflows/on_push.yaml +++ b/.gitea/workflows/on_push.yaml @@ -49,4 +49,4 @@ jobs: curl -X PUT \ -H "Content-Type: application/octet-stream" \ --data-binary @.pio/build/ESP32_INA233/littlefs.bin \ - https://iot.tobiasmaier.me/filesystem/waterlevel/generic/${VERSION} + https://iot.tobiasmaier.me/filesystem/waterlevel/generic/${VERSION}.0.0 diff --git a/.vscode/settings.json b/.vscode/settings.json index 2fc0cce..482f768 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,6 +22,53 @@ "text_encoding": "cpp", "thread": "cpp", "*.inc": "cpp", - "cstddef": "cpp" + "cstddef": "cpp", + "iomanip": "cpp", + "sstream": "cpp", + "atomic": "cpp", + "bit": "cpp", + "bitset": "cpp", + "cctype": "cpp", + "charconv": "cpp", + "clocale": "cpp", + "cmath": "cpp", + "compare": "cpp", + "concepts": "cpp", + "condition_variable": "cpp", + "cstdarg": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "map": "cpp", + "set": "cpp", + "exception": "cpp", + "algorithm": "cpp", + "functional": "cpp", + "iterator": "cpp", + "memory_resource": "cpp", + "netfwd": "cpp", + "numeric": "cpp", + "optional": "cpp", + "ratio": "cpp", + "source_location": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "utility": "cpp", + "iosfwd": "cpp", + "limits": "cpp", + "new": "cpp", + "numbers": "cpp", + "semaphore": "cpp", + "stdexcept": "cpp", + "stop_token": "cpp", + "streambuf": "cpp", + "cinttypes": "cpp", + "typeinfo": "cpp", + "variant": "cpp" } } \ No newline at end of file diff --git a/data/logic.js b/data/logic.js index 11f863a..d266ed7 100644 --- a/data/logic.js +++ b/data/logic.js @@ -49,7 +49,7 @@ function fetchWaterData(gauge) { } function fetchUpdateData(gauge) { - const apiUrl = '/ota_udpate_status'; + const apiUrl = '/ota_update_status'; // Fetching data from the API fetch(apiUrl) .then(response => response.json()) diff --git a/data/update_progress.html b/data/update_progress.html index bf5ba8a..437dce8 100644 --- a/data/update_progress.html +++ b/data/update_progress.html @@ -5,20 +5,8 @@
-