File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ file. The location of this file is determined in the order:
12
12
- in the default user directory: ` $HOME/.node-red/settings.js `
13
13
- in the node-red install directory
14
14
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
+
15
19
When [ embedded] ( embedding.html ) , they are passed in the call to ` RED.init() ` .
16
20
However, when run in this mode, certain properties are ignored and are left to
17
21
the embedding application to implement.
@@ -92,10 +96,10 @@ httpNodeCors
92
96
as defined [ here] ( https://github.com/troygoode/node-cors#configuration-options )
93
97
94
98
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,
96
100
such as authentication, is needed for the nodes. The format of the middleware function is
97
101
documented [ here] ( http://expressjs.com/guide/using-middleware.html#middleware.application ) .
98
-
102
+
99
103
httpNodeMiddleware: function(req,res,next) {
100
104
// Perform any processing on the request.
101
105
// Be sure to call next() if the request should be passed
You can’t perform that action at this time.
0 commit comments