PROJECT ENABLE
This commit is contained in:
parent
8b4351ca96
commit
2a4d4fb041
@ -143,7 +143,7 @@ module.exports = {
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
/** the tcp port that the Node-RED web server is listening on */
|
/** the tcp port that the Node-RED web server is listening on */
|
||||||
uiPort: 5051,
|
uiPort: 5052,
|
||||||
|
|
||||||
/** By default, the Node-RED UI accepts connections on all IPv4 interfaces.
|
/** By default, the Node-RED UI accepts connections on all IPv4 interfaces.
|
||||||
* To listen on all IPv6 addresses, set uiHost to "::",
|
* To listen on all IPv6 addresses, set uiHost to "::",
|
||||||
|
|||||||
@ -143,7 +143,7 @@ crudConfig.delete = crudConfig.delete || {};
|
|||||||
if (!crudConfig.delete.path) {
|
if (!crudConfig.delete.path) {
|
||||||
crudConfig.delete.path = singlePath;
|
crudConfig.delete.path = singlePath;
|
||||||
}
|
}
|
||||||
crudConfig.delete.method = crudConfig.delete.method || 'DELETE';
|
crudConfig.delete.method = crudConfig.delete.method || 'POST';
|
||||||
|
|
||||||
crudConfig.detailPath = crudConfig.detailPath || detailPath;
|
crudConfig.detailPath = crudConfig.detailPath || detailPath;
|
||||||
crudConfig.version = crudConfig.version || versionSegment;
|
crudConfig.version = crudConfig.version || versionSegment;
|
||||||
@ -183,8 +183,8 @@ function extractDataRegion(dmsSchema, fallback) {
|
|||||||
|
|
||||||
function extractSchemaInput(message) {
|
function extractSchemaInput(message) {
|
||||||
if (message && message.req && message.req.body && typeof message.req.body === 'object') {
|
if (message && message.req && message.req.body && typeof message.req.body === 'object') {
|
||||||
if (message.req.body.schema !== undefined) {
|
if (message.req.body.dms_schema !== undefined) {
|
||||||
return message.req.body.schema;
|
return message.req.body.dms_schema;
|
||||||
}
|
}
|
||||||
if (looksLikeDmsSchema(message.req.body)) {
|
if (looksLikeDmsSchema(message.req.body)) {
|
||||||
return message.req.body;
|
return message.req.body;
|
||||||
@ -193,8 +193,8 @@ function extractSchemaInput(message) {
|
|||||||
|
|
||||||
if (message && message.payload !== undefined) {
|
if (message && message.payload !== undefined) {
|
||||||
if (message.payload && typeof message.payload === 'object') {
|
if (message.payload && typeof message.payload === 'object') {
|
||||||
if (message.payload.schema !== undefined) {
|
if (message.payload.dms_schema !== undefined) {
|
||||||
return message.payload.schema;
|
return message.payload.dms_schema;
|
||||||
}
|
}
|
||||||
if (looksLikeDmsSchema(message.payload)) {
|
if (looksLikeDmsSchema(message.payload)) {
|
||||||
return message.payload;
|
return message.payload;
|
||||||
|
|||||||
2
packages/node_modules/node-red/settings.js
vendored
2
packages/node_modules/node-red/settings.js
vendored
@ -442,7 +442,7 @@ module.exports = {
|
|||||||
|
|
||||||
projects: {
|
projects: {
|
||||||
/** To enable the Projects feature, set this value to true */
|
/** To enable the Projects feature, set this value to true */
|
||||||
enabled: false,
|
enabled: true,
|
||||||
workflow: {
|
workflow: {
|
||||||
/** Set the default projects workflow mode.
|
/** Set the default projects workflow mode.
|
||||||
* - manual - you must manually commit changes
|
* - manual - you must manually commit changes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user