mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Use HTTP body instead of header for setting flows run state
This commit is contained in:
@@ -306,10 +306,7 @@ RED.deploy = (function() {
|
||||
$.ajax({
|
||||
url:"flows/state",
|
||||
type: "POST",
|
||||
data: {state: state},
|
||||
headers: {
|
||||
"Node-RED-Flow-Run-State-Change": state
|
||||
}
|
||||
data: {state: state}
|
||||
}).done(function(data,textStatus,xhr) {
|
||||
if (deployWasEnabled) {
|
||||
$("#red-ui-header-button-deploy").removeClass("disabled");
|
||||
|
Reference in New Issue
Block a user