node ready for autonomu with dependencies

This commit is contained in:
Muhammad Sameer Khan
2023-12-19 17:52:45 +05:00
parent 0e8d312794
commit 2e275389ab
7 changed files with 429 additions and 6 deletions

View File

@@ -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