From 64685d0b0a9fbe82c9bb001b6a635ca771c99c63 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 29 Mar 2022 21:15:40 +0200 Subject: [PATCH] Disable path --- check_process | 1 - manifest.json | 6 ------ scripts/change_url | 2 +- scripts/install | 2 +- 4 files changed, 2 insertions(+), 9 deletions(-) diff --git a/check_process b/check_process index 7fc1d4a..5e369c5 100644 --- a/check_process +++ b/check_process @@ -1,7 +1,6 @@ ;; Test complet ; Manifest domain="domain.tld" - path="/path" is_public=1 password="1Strong-Password" ; Checks diff --git a/manifest.json b/manifest.json index 7a9ccbb..bc0ff2b 100644 --- a/manifest.json +++ b/manifest.json @@ -33,12 +33,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/psitransfer", - "default": "/psitransfer" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/change_url b/scripts/change_url index c98fc3e..d879a10 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -17,7 +17,7 @@ old_domain=$YNH_APP_OLD_DOMAIN old_path=$YNH_APP_OLD_PATH new_domain=$YNH_APP_NEW_DOMAIN -new_path=$YNH_APP_NEW_PATH +new_path="/" app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/install b/scripts/install index bfc26f2..1552c54 100644 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" is_public=$YNH_APP_ARG_IS_PUBLIC password=$YNH_APP_ARG_PASSWORD