mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Fix paths to red to use env variable
This commit is contained in:
parent
5e67f41114
commit
ab168fe26f
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
var RED = require("../../red/red");
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var badwords = require('badwords');
|
||||
|
||||
function BadwordsNode(n) {
|
||||
|
@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
var RED = require("../../red/red");
|
||||
var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var settings = RED.settings;
|
||||
var util = require("util");
|
||||
var fs = require('fs');
|
||||
|
Loading…
Reference in New Issue
Block a user