mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add NODE_RED_HOME env variable
This commit is contained in:
parent
f80cbf729a
commit
fa8dcdc87f
@ -20,6 +20,9 @@ var nodes = require("./nodes");
|
||||
var library = require("./library");
|
||||
var settings = null;
|
||||
|
||||
var path = require('path');
|
||||
|
||||
process.env.NODE_RED_HOME = process.env.NODE_RED_HOME || path.resolve(__dirname+"/..");
|
||||
|
||||
var events = require("events");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user