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:
commit
7e4fa5fa45
@ -36,8 +36,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.send(redNodes.getNodeConfigs());
|
res.send(redNodes.getNodeConfigs());
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user