1
0
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:
Nicholas O'Leary 2013-10-20 22:08:38 +01:00
parent f80cbf729a
commit fa8dcdc87f

View File

@ -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");