diff options
author | Paul Spooren <mail@aparcar.org> | 2022-07-28 22:43:46 +0200 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2022-07-29 15:40:32 +0200 |
commit | f368faf6789a43c2e1a26b721f8115473672eb29 (patch) | |
tree | 7bb4fb81fdb39312178462b29ccbc56fe9e8538c /applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources | |
parent | 12011de34940d388c74ca7be37abc6b3fd060237 (diff) |
luci-app-attendedsysupgrade: report used client version
This allows the backend to track popular app versions and drop support for
unsed version in case of API changes.
Specifically the app sends a version string in the format "luci/GIT_HASH" to
the backend.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index 8d85f866ba..9054b78878 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -418,7 +418,7 @@ return view.extend({ }, render: function (res) { - this.data.app_version = res[0].packages['luci-app-attendedsysupgrade']; + this.firmware.client = 'luci/' + res[0].packages['luci-app-attendedsysupgrade']; this.firmware.packages = res[0].packages; this.firmware.profile = res[1].board_name; |