Skip to content

Commit cfb396b

Browse files
committed
add pointer to settings.js
1 parent a969f98 commit cfb396b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/configuration.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ file. The location of this file is determined in the order:
1212
- in the default user directory: `$HOME/.node-red/settings.js`
1313
- in the node-red install directory
1414

15+
Node-RED includes a default `settings.js` file that will be used in absence of a
16+
user-provided settings file. It can also be used as a starting point for creating
17+
your own settings file. It can be seen on GitHub [here](https://github.com/node-red/node-red/blob/master/settings.js).
18+
1519
When [embedded](embedding.html), they are passed in the call to `RED.init()`.
1620
However, when run in this mode, certain properties are ignored and are left to
1721
the embedding application to implement.
@@ -92,10 +96,10 @@ httpNodeCors
9296
as defined [here](https://github.com/troygoode/node-cors#configuration-options)
9397

9498
httpNodeMiddleware
95-
: an HTTP middleware function that is added to all HTTP In nodes. This allows whatever custom processing,
99+
: an HTTP middleware function that is added to all HTTP In nodes. This allows whatever custom processing,
96100
such as authentication, is needed for the nodes. The format of the middleware function is
97101
documented [here](http://expressjs.com/guide/using-middleware.html#middleware.application).
98-
102+
99103
httpNodeMiddleware: function(req,res,next) {
100104
// Perform any processing on the request.
101105
// Be sure to call next() if the request should be passed

0 commit comments

Comments
 (0)