mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
support for use_strict
variable appears unused but results in ReferenceError: flowfile is not defined when node is invoked with --use_strict
This commit is contained in:
parent
18ae7108f5
commit
440d649cd6
@ -34,8 +34,6 @@ function createServer(_server,_settings) {
|
|||||||
app = createUI(settings);
|
app = createUI(settings);
|
||||||
nodeApp = express();
|
nodeApp = express();
|
||||||
|
|
||||||
flowfile = settings.flowFile || 'flows_'+require('os').hostname()+'.json';
|
|
||||||
|
|
||||||
app.get("/nodes",function(req,res) {
|
app.get("/nodes",function(req,res) {
|
||||||
res.writeHead(200, {'Content-Type': 'text/plain'});
|
res.writeHead(200, {'Content-Type': 'text/plain'});
|
||||||
res.write(redNodes.getNodeConfigs());
|
res.write(redNodes.getNodeConfigs());
|
||||||
|
Loading…
Reference in New Issue
Block a user