mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix typos in settings.js (#4013)
* chore: Remove trailing whitespace in settings.js * chore: Fix typos in settings.js * chore: Use consistent terminology in settings.js
This commit is contained in:
parent
4d202a7a37
commit
10324d8260
28
packages/node_modules/node-red/settings.js
vendored
28
packages/node_modules/node-red/settings.js
vendored
@ -181,7 +181,7 @@ module.exports = {
|
|||||||
|
|
||||||
/** Some nodes, such as HTTP In, can be used to listen for incoming http requests.
|
/** Some nodes, such as HTTP In, can be used to listen for incoming http requests.
|
||||||
* By default, these are served relative to '/'. The following property
|
* By default, these are served relative to '/'. The following property
|
||||||
* can be used to specifiy a different root path. If set to false, this is
|
* can be used to specify a different root path. If set to false, this is
|
||||||
* disabled.
|
* disabled.
|
||||||
*/
|
*/
|
||||||
//httpNodeRoot: '/red-nodes',
|
//httpNodeRoot: '/red-nodes',
|
||||||
@ -219,17 +219,17 @@ module.exports = {
|
|||||||
/** When httpAdminRoot is used to move the UI to a different root path, the
|
/** When httpAdminRoot is used to move the UI to a different root path, the
|
||||||
* following property can be used to identify a directory of static content
|
* following property can be used to identify a directory of static content
|
||||||
* that should be served at http://localhost:1880/.
|
* that should be served at http://localhost:1880/.
|
||||||
* When httpStaticRoot is set differently to httpAdminRoot, there is no need
|
* When httpStaticRoot is set differently to httpAdminRoot, there is no need
|
||||||
* to move httpAdminRoot
|
* to move httpAdminRoot
|
||||||
*/
|
*/
|
||||||
//httpStatic: '/home/nol/node-red-static/', //single static source
|
//httpStatic: '/home/nol/node-red-static/', //single static source
|
||||||
/* OR multiple static sources can be created using an array of objects... */
|
/* OR multiple static sources can be created using an array of objects... */
|
||||||
//httpStatic: [
|
//httpStatic: [
|
||||||
// {path: '/home/nol/pics/', root: "/img/"},
|
// {path: '/home/nol/pics/', root: "/img/"},
|
||||||
// {path: '/home/nol/reports/', root: "/doc/"},
|
// {path: '/home/nol/reports/', root: "/doc/"},
|
||||||
//],
|
//],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All static routes will be appended to httpStaticRoot
|
* All static routes will be appended to httpStaticRoot
|
||||||
* e.g. if httpStatic = "/home/nol/docs" and httpStaticRoot = "/static/"
|
* e.g. if httpStatic = "/home/nol/docs" and httpStaticRoot = "/static/"
|
||||||
* then "/home/nol/docs" will be served at "/static/"
|
* then "/home/nol/docs" will be served at "/static/"
|
||||||
@ -256,11 +256,11 @@ module.exports = {
|
|||||||
*/
|
*/
|
||||||
// lang: "de",
|
// lang: "de",
|
||||||
|
|
||||||
/** Configure diagnostics options
|
/** Configure diagnostics options
|
||||||
* - enabled: When `enabled` is `true` (or unset), diagnostics data will
|
* - enabled: When `enabled` is `true` (or unset), diagnostics data will
|
||||||
* be available at http://localhost:1880/diagnostics
|
* be available at http://localhost:1880/diagnostics
|
||||||
* - ui: When `ui` is `true` (or unset), the action `show-system-info` will
|
* - ui: When `ui` is `true` (or unset), the action `show-system-info` will
|
||||||
* be available to logged in users of node-red editor
|
* be available to logged in users of node-red editor
|
||||||
*/
|
*/
|
||||||
diagnostics: {
|
diagnostics: {
|
||||||
/** enable or disable diagnostics endpoint. Must be set to `false` to disable */
|
/** enable or disable diagnostics endpoint. Must be set to `false` to disable */
|
||||||
@ -268,10 +268,10 @@ module.exports = {
|
|||||||
/** enable or disable diagnostics display in the node-red editor. Must be set to `false` to disable */
|
/** enable or disable diagnostics display in the node-red editor. Must be set to `false` to disable */
|
||||||
ui: true,
|
ui: true,
|
||||||
},
|
},
|
||||||
/** Configure runtimeState options
|
/** Configure runtimeState options
|
||||||
* - enabled: When `enabled` is `true` flows runtime can be Started/Stoped
|
* - enabled: When `enabled` is `true` flows runtime can be Started/Stopped
|
||||||
* by POSTing to available at http://localhost:1880/flows/state
|
* by POSTing to available at http://localhost:1880/flows/state
|
||||||
* - ui: When `ui` is `true`, the action `core:start-flows` and
|
* - ui: When `ui` is `true`, the action `core:start-flows` and
|
||||||
* `core:stop-flows` will be available to logged in users of node-red editor
|
* `core:stop-flows` will be available to logged in users of node-red editor
|
||||||
* Also, the deploy menu (when set to default) will show a stop or start button
|
* Also, the deploy menu (when set to default) will show a stop or start button
|
||||||
*/
|
*/
|
||||||
@ -519,7 +519,7 @@ module.exports = {
|
|||||||
*/
|
*/
|
||||||
//tlsConfigDisableLocalFiles: true,
|
//tlsConfigDisableLocalFiles: true,
|
||||||
|
|
||||||
/** 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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user