mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	node ready for autonomu with dependencies
This commit is contained in:
		
							
								
								
									
										14
									
								
								packages/node_modules/node-red/settings.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								packages/node_modules/node-red/settings.js
									
									
									
									
										vendored
									
									
								
							| @@ -73,14 +73,14 @@ module.exports = { | ||||
|     /** To password protect the Node-RED editor and admin API, the following | ||||
|      * property can be used. See https://nodered.org/docs/security.html for details. | ||||
|      */ | ||||
|     //adminAuth: { | ||||
|     // adminAuth: { | ||||
|     //    type: "credentials", | ||||
|     //    users: [{ | ||||
|     //        username: "admin", | ||||
|     //        password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.", | ||||
|     //        permissions: "*" | ||||
|     //    }] | ||||
|     //}, | ||||
|     // }, | ||||
|  | ||||
|     /** The following property can be used to enable HTTPS | ||||
|      * This property can be either an object, containing both a (private) key | ||||
| @@ -90,10 +90,10 @@ module.exports = { | ||||
|      */ | ||||
|  | ||||
|     /** Option 1: static object */ | ||||
|     //https: { | ||||
|     // https: { | ||||
|     //  key: require("fs").readFileSync('privkey.pem'), | ||||
|     //  cert: require("fs").readFileSync('cert.pem') | ||||
|     //}, | ||||
|     // }, | ||||
|  | ||||
|     /** Option 2: function that returns the HTTP configuration object */ | ||||
|     // https: function() { | ||||
| @@ -122,8 +122,8 @@ module.exports = { | ||||
|      * The `pass` field is a bcrypt hash of the password. | ||||
|      * See https://nodered.org/docs/security.html#generating-the-password-hash | ||||
|      */ | ||||
|     //httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, | ||||
|     //httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, | ||||
|     // httpNodeAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, | ||||
|     // httpStaticAuth: {user:"user",pass:"$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN."}, | ||||
|  | ||||
| /******************************************************************************* | ||||
|  * Server Settings | ||||
| @@ -481,6 +481,8 @@ module.exports = { | ||||
|      */ | ||||
|     functionGlobalContext: { | ||||
|         // os:require('os'), | ||||
|         // env:process.env, | ||||
|         // playwright: require("playwright") | ||||
|     }, | ||||
|  | ||||
|     /** The maximum number of messages nodes will buffer internally as part of their | ||||
|   | ||||
		Reference in New Issue
	
	Block a user