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",
|
||||
"fr": "Choisissez un nom de domaine pour WireGuard UI"
|
||||
},
|
||||
"example": "example.com"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"ask": {
|
||||
"en": "Choose a path for WireGuard UI",
|
||||
"fr": "Choisissez un chemin pour WireGuard UI"
|
||||
},
|
||||
"example": "/example",
|
||||
"default": "/",
|
||||
"example": "wg.example.com",
|
||||
"help": {
|
||||
"en": "For the time being, leave the root of a domain. The web UI will not work otherwise.",
|
||||
"fr": "Pour l'instant, gardez la racine d'un domaine. La web UI ne fonctionnera pas sinon."
|
||||
"en": "The web UI requires its own dedicated domain.",
|
||||
"fr": "L'interface web nécessite son propre domaine."
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
|
||||
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
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
|
Loading…
Add table
Reference in a new issue