1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #204 from tedgoddard/patch-1

support for use_strict - patch for server.js file
Removes redundant variable declaration.
(now handled in storage)
This commit is contained in:
Dave Conway-Jones 2014-05-14 11:25:38 +01:00
commit 7e4fa5fa45

View File

@ -36,8 +36,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.send(redNodes.getNodeConfigs());
});