mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Use environment variable to set path for nodes....
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
**/
|
||||
var RED = require("../../red/red");
|
||||
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var SunCalc = require('suncalc');
|
||||
|
||||
function SunNode(n) {
|
||||
|
Reference in New Issue
Block a user