node-red-viseo-helper
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -10,4 +10,10 @@ const extend = require('extend'); | ||
let config = require(process.env.CONFIG_PATH)[process.env.NODE_ENV] || {}; | ||
config.server.host = process.env.HOST || config.server.host; | ||
let config = {} | ||
try { | ||
config = require(process.env.CONFIG_PATH)[process.env.NODE_ENV] || {}; | ||
config.server.host = process.env.HOST || config.server.host; | ||
} catch(e) { | ||
console.log("no project config file found"); | ||
} | ||
@@ -14,0 +20,0 @@ extend(true, CONFIG, config); |
{ | ||
"name" : "node-red-viseo-helper", | ||
"version" : "0.1.23", | ||
"version" : "0.1.24", | ||
"description" : "Utility libarary for Node-RED", | ||
@@ -5,0 +5,0 @@ "dependencies" : { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22939
174