mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 15:34:26 +01:00
Add include raw data option in request body.
This commit is contained in:
2
packages/node_modules/node-red/red.js
vendored
2
packages/node_modules/node-red/red.js
vendored
@@ -65,6 +65,7 @@ var knownOpts = {
|
||||
"version": Boolean,
|
||||
"define": [String, Array]
|
||||
};
|
||||
|
||||
var shortHands = {
|
||||
"?":["--help"],
|
||||
"p":["--port"],
|
||||
@@ -286,7 +287,6 @@ httpsPromise.then(function(startupHttps) {
|
||||
server = http.createServer(function(req,res) {app(req,res);});
|
||||
}
|
||||
server.setMaxListeners(0);
|
||||
|
||||
function formatRoot(root) {
|
||||
if (root[0] != "/") {
|
||||
root = "/" + root;
|
||||
|
||||
Reference in New Issue
Block a user