1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/filebrowser_ynh.git synced 2024-09-03 18:36:05 +02:00
This commit is contained in:
ericgaspar 2022-02-19 10:29:32 +01:00
parent a641cd4437
commit 7f58a5d76b
4 changed files with 23 additions and 2 deletions

View file

@ -4,5 +4,7 @@
"address": "127.0.0.1", "address": "127.0.0.1",
"log": "stdout", "log": "stdout",
"database": "__FINALPATH__/database.db", "database": "__FINALPATH__/database.db",
"root": "__DATADIR__" "root": "__DATADIR__",
"username": "__ADMIN__",
"password": "__PASSWORD__"
} }

View file

@ -3,3 +3,4 @@
username: admin username: admin
password: admin password: admin
``` ```

View file

@ -32,10 +32,28 @@
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"
}, },
{
"name": "path",
"type": "path",
"example": "/filebrowser",
"default": "/filebrowser"
},
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"default": true "default": true
},
{
"name": "admin",
"type": "user"
},
{
"name": "password",
"type": "password",
"help": {
"en": "Use the help field to add an information for the admin about this question.",
"fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
}
} }
] ]
} }

View file

@ -21,7 +21,7 @@ ynh_abort_if_errors
#================================================= #=================================================
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url="/" path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
architecture=$YNH_ARCH architecture=$YNH_ARCH