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

Add httpStatic log statement on start up

This commit is contained in:
Nick O'Leary 2017-07-26 11:45:49 -07:00
parent d4d87054c4
commit 5bdb9e972e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 5 additions and 1 deletions

View File

@ -155,6 +155,9 @@ function start() {
if (settings.settingsFile) {
log.info(log._("runtime.paths.settings",{path:settings.settingsFile}));
}
if (settings.httpStatic) {
log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)}));
}
redNodes.loadFlows().then(redNodes.startFlows);
started = true;
}).otherwise(function(err) {

View File

@ -4,7 +4,8 @@
"version": "__component__ version: __version__",
"unsupported_version": "Unsupported version of __component__. Requires: __requires__ Found: __version__",
"paths": {
"settings": "Settings file : __path__"
"settings": "Settings file : __path__",
"httpStatic": "HTTP Static : __path__"
}
},