mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
Remove prompt for path_url
The web UI does not handle yet installation on a subpath
This commit is contained in:
parent
e9525eb25c
commit
b58e5efec7
2 changed files with 4 additions and 14 deletions
|
@ -37,20 +37,10 @@
|
||||||
"en": "Choose a domain name for WireGuard UI",
|
"en": "Choose a domain name for WireGuard UI",
|
||||||
"fr": "Choisissez un nom de domaine pour WireGuard UI"
|
"fr": "Choisissez un nom de domaine pour WireGuard UI"
|
||||||
},
|
},
|
||||||
"example": "example.com"
|
"example": "wg.example.com",
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"type": "path",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for WireGuard UI",
|
|
||||||
"fr": "Choisissez un chemin pour WireGuard UI"
|
|
||||||
},
|
|
||||||
"example": "/example",
|
|
||||||
"default": "/",
|
|
||||||
"help": {
|
"help": {
|
||||||
"en": "For the time being, leave the root of a domain. The web UI will not work otherwise.",
|
"en": "The web UI requires its own dedicated domain.",
|
||||||
"fr": "Pour l'instant, gardez la racine d'un domaine. La web UI ne fonctionnera pas sinon."
|
"fr": "L'interface web nécessite son propre domaine."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH #TODO: Check if possible with wireguard_ui to use sub path
|
path_url="/"
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
Loading…
Add table
Reference in a new issue