diff --git a/packages/node_modules/node-red/settings.js b/packages/node_modules/node-red/settings.js index 0bee5308c..724cb5a28 100644 --- a/packages/node_modules/node-red/settings.js +++ b/packages/node_modules/node-red/settings.js @@ -181,6 +181,11 @@ module.exports = { // next(); //}, + // The following property can be used to pass custom options to the Express.js + // server used by Node-RED. For a full list of available options, refer + // to http://expressjs.com/en/api.html#app.settings.table + //httpServerOptions: { }, + // The following property can be used to verify websocket connection attempts. // This allows, for example, the HTTP request headers to be checked to ensure // they include valid authentication information. @@ -256,23 +261,5 @@ module.exports = { // To enable the Projects feature, set this value to true enabled: false } - }, - // http://expressjs.com/en/api.html#app.settings.table - //httpServerOptions: { - // 'case sensitive routing': false, - // 'env': false, - // 'etag': false, - // 'jsonp callback name': false, - // 'json escape': false, - // 'json replacer': false, - // 'json spaces': false, - // 'query parser': false, - // 'strict routing': false, - // 'subdomain offset': false, - // 'trust proxy': false, - // 'views': false, - // 'view cache': false, - // 'view engine': false, - // 'x-powered-by': false - //} + } }