1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

Add true path of nodered instance

This commit is contained in:
McFlyPartages 2022-02-04 18:37:03 +01:00 committed by GitHub
parent e1efa74fa5
commit cf841a884f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ It provides a browser-based editor that makes it easy to wire together flows usi
### Override the default settings ### Override the default settings
From the installation directory, go edit the `data/settings.user.js`. For example: From the installation directory, go edit the `/opt/yunohost/nodered/data/settings.user.js`. For example:
```js ```js
module.exports = (defaultSettings) => ({ module.exports = (defaultSettings) => ({
@ -26,4 +26,4 @@ logging: { // replace the default logging option ...defaultSettings.logging, //
}); });
``` ```
You can check the default settings Yunohost generates at `data/settings.js` and find the documentation for configuring Node-RED here: https://nodered.org/docs/user-guide/runtime/configuration You can check the default settings Yunohost generates at `/opt/yunohost/nodered/data/settings.js` and find the documentation for configuring Node-RED here: https://nodered.org/docs/user-guide/runtime/configuration