mirror of
https://github.com/node-red/node-red.git
synced 2025-12-26 23:26:46 +01:00
Add v2 /flows api and deploy-overwrite protection
This commit is contained in:
@@ -84,6 +84,7 @@ RED.settings = (function () {
|
||||
if (auth_tokens) {
|
||||
jqXHR.setRequestHeader("Authorization","Bearer "+auth_tokens.access_token);
|
||||
}
|
||||
jqXHR.setRequestHeader("Node-RED-API-Version","v2");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user