From b58e5efec73b792169deaf721a734405e476151a Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 14 Mar 2021 09:53:57 +0100 Subject: [PATCH] Remove prompt for path_url The web UI does not handle yet installation on a subpath --- manifest.json | 16 +++------------- scripts/install | 2 +- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/manifest.json b/manifest.json index a52fa6c..bcfd63f 100644 --- a/manifest.json +++ b/manifest.json @@ -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." } }, { diff --git a/scripts/install b/scripts/install index f0d387f..1a487d6 100644 --- a/scripts/install +++ b/scripts/install @@ -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