mirror of
https://github.com/YunoHost-Apps/filebrowser_ynh.git
synced 2024-09-03 18:36:05 +02:00
Fix
This commit is contained in:
parent
a641cd4437
commit
7f58a5d76b
4 changed files with 23 additions and 2 deletions
|
@ -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__"
|
||||||
}
|
}
|
|
@ -3,3 +3,4 @@
|
||||||
username: admin
|
username: admin
|
||||||
password: admin
|
password: admin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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."
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue