mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
log readOnly on startup
This commit is contained in:
parent
b73efe6bb4
commit
bd3a8db438
@ -202,6 +202,9 @@ function start() {
|
|||||||
if (settings.settingsFile) {
|
if (settings.settingsFile) {
|
||||||
log.info(log._("runtime.paths.settings",{path:settings.settingsFile}));
|
log.info(log._("runtime.paths.settings",{path:settings.settingsFile}));
|
||||||
}
|
}
|
||||||
|
if (settings.readOnly){
|
||||||
|
log.info(log._("settings.readonly-mode"))
|
||||||
|
}
|
||||||
if (settings.httpStatic) {
|
if (settings.httpStatic) {
|
||||||
log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)}));
|
log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)}));
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,8 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"user-not-available": "Cannot save user settings: __message__",
|
"user-not-available": "Cannot save user settings: __message__",
|
||||||
"not-available": "Settings not available",
|
"not-available": "Settings not available",
|
||||||
"property-read-only": "Property '__prop__' is read-only"
|
"property-read-only": "Property '__prop__' is read-only",
|
||||||
|
"readonly-mode" : "Settings readOnly is true"
|
||||||
},
|
},
|
||||||
"library": {
|
"library": {
|
||||||
"unknownLibrary": "Unknown library: __library__",
|
"unknownLibrary": "Unknown library: __library__",
|
||||||
|
Loading…
Reference in New Issue
Block a user