This commit is contained in:
gongwenxin
2025-09-12 15:10:57 +08:00
parent 73e887ebf4
commit a359df752f
7 changed files with 1093 additions and 2 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ module.exports = {
* the user's home directory. To use a different location, the following
* property can be used
*/
//userDir: '/home/nol/.node-red/',
userDir: '.node-red-data',
/** Node-RED scans the `nodes` directory in the userDir to find local node files.
* The following property can be used to specify an additional directory to scan.
@@ -143,7 +143,7 @@ module.exports = {
******************************************************************************/
/** the tcp port that the Node-RED web server is listening on */
uiPort: process.env.PORT || 1880,
uiPort: 5051,
/** By default, the Node-RED UI accepts connections on all IPv4 interfaces.
* To listen on all IPv6 addresses, set uiHost to "::",