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

Fix camel case of flowFile

This commit is contained in:
Nicholas O'Leary 2013-10-05 21:19:55 +01:00
parent c7bbfeeb7c
commit f5a8230f3e
2 changed files with 2 additions and 2 deletions

2
red.js
View File

@ -48,7 +48,7 @@ if (settings.httpAuth) {
); );
} }
settings.flowfile = process.argv[2] || settings.flowfile; settings.flowFile = process.argv[2] || settings.flowFile;
var red = RED.init(server,settings); var red = RED.init(server,settings);
app.use(settings.httpRoot,red); app.use(settings.httpRoot,red);

View File

@ -29,7 +29,7 @@ function createServer(_server,settings) {
server = _server; server = _server;
app = createUI(settings); app = createUI(settings);
flowfile = settings.flowfile || 'flows_'+require('os').hostname()+'.json'; flowfile = settings.flowFile || 'flows_'+require('os').hostname()+'.json';
//TODO: relocated user dir //TODO: relocated user dir
fs.exists("lib/",function(exists) { fs.exists("lib/",function(exists) {