mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Adding some extra data elements to a build request (#3194)
* Adding some extra data elements to a build request - so as to be able to provide better support, and analysis * Renamed "info" to more appropriate "response"
This commit is contained in:
parent
a0ba23865f
commit
17d4738b34
5 changed files with 37 additions and 22 deletions
|
@ -58,6 +58,13 @@ function appReady() {
|
|||
i18n.init(function() {
|
||||
startProcess();
|
||||
|
||||
// pass the configurator version as a custom header for every AJAX request.
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CFG-VER': `${CONFIGURATOR.version}`,
|
||||
},
|
||||
});
|
||||
|
||||
initializeSerialBackend();
|
||||
|
||||
$('.connect_b a.connect').removeClass('disabled');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue