mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
update sample to use environment variable for path to RED.
This commit is contained in:
parent
c193779f67
commit
deef63334f
@ -19,7 +19,7 @@
|
||||
// Sample Node-RED node file
|
||||
|
||||
// Require main module
|
||||
var RED = require("../../red/red");
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
|
||||
// The main node definition - most things happen in here
|
||||
function SampleNode(n) {
|
||||
|
Loading…
Reference in New Issue
Block a user