1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update httpServerOptions doc in settings.js

This commit is contained in:
Nick O'Leary 2018-10-22 23:00:00 +01:00
parent 8a68a3e861
commit 4a081bf125
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -181,6 +181,11 @@ module.exports = {
// next(); // 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. // The following property can be used to verify websocket connection attempts.
// This allows, for example, the HTTP request headers to be checked to ensure // This allows, for example, the HTTP request headers to be checked to ensure
// they include valid authentication information. // they include valid authentication information.
@ -256,23 +261,5 @@ module.exports = {
// To enable the Projects feature, set this value to true // To enable the Projects feature, set this value to true
enabled: false 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
//}
} }