1
0
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:
Ted Goddard 2014-04-17 10:54:55 -06:00
parent 18ae7108f5
commit 440d649cd6

View File

@ -34,8 +34,6 @@ function createServer(_server,_settings) {
app = createUI(settings);
nodeApp = express();
flowfile = settings.flowFile || 'flows_'+require('os').hostname()+'.json';
app.get("/nodes",function(req,res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write(redNodes.getNodeConfigs());