1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 07:15:15 +03:00

Always request hex via the post to API mechanism (#3149)

* Always request hex via the post to API mechanism

- enables logging of requests for older versions via API rather than GA,
- gives flexibility in future if we need to return alternative hex files for any reason.

* The URL for the hex is now returned by the API

* Only apply these settings if expertmode is enabled.
This commit is contained in:
J Blackman 2022-12-16 16:46:49 +11:00 committed by GitHub
parent b6d8efc9f8
commit e8ef9418e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 17 deletions

View file

@ -90,7 +90,6 @@ class ReleaseLoader {
contentType: "application/json",
dataType: "json",
success: function(data) {
data.url = `/api/builds/${data.key}/hex`;
onSuccess(data);
},
}).fail(xhr => {