diff --git a/conf/config.js b/conf/config.js index 47fe7cc..fb9e23d 100644 --- a/conf/config.js +++ b/conf/config.js @@ -1,3 +1,11 @@ +// ⚠️ IMPORTANT WARNING: do NOT edit this config file by hand, +// else your modifications will be ERASED at each update of the Send package! +// Instead, use the config panel in your web admin interface: +// Applications ➡️ Send ➡️ Config panel ➡️ do your config edit ➡️ Save +// Most of the relevant settings are available in the config panel, if you're +// missing one, open an issue: https://github.com/YunoHost-Apps/send_ynh/issues + + const convict = require('convict'); const convict_format_with_validator = require('convict-format-with-validator'); const { tmpdir } = require('os'); diff --git a/doc/ADMIN.md b/doc/ADMIN.md index c87b3d2..0142a94 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,2 +1 @@ -The config file path is `__INSTALL_DIR__/server/config.js`. -You can configure things such as the max file size, max downloads, or max file expire time. +You can edit the Send settings such as the max file size, max downloads or max file expire time in the app configuration panel under your admin YunoHost interface. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 0e7b52e..2ef3934 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,2 +1 @@ -Le chemin du fichier de configuration est `__INSTALL_DIR__/server/config.js`. -Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements, ou temps d'expiration des fichiers maximums. +Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements ou temps d'expiration des fichiers maximums dans le panneau de configuration de l'app dans votre interface d'administration YunoHost.