From 7711f0a026115f1b002e536c2d6d65af66e73008 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 26 Jul 2021 07:53:15 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index ccba050..d980224 100755 --- a/scripts/install +++ b/scripts/install @@ -264,14 +264,14 @@ then # Replace radicale by InfCloud into YunoHost portal ynh_app_setting_set $app path ${path_url%/}/infcloud # Protect InfCloud access - - + ynh_app_setting_set $app protected_uris "/" + domain_regex=$(echo "$domain" | sed 's@-@.@g') # Radicale is always accessible (For access to ressources) - + ynh_app_setting_set $app skipped_regex "$domain_regex$path_url" else # If only radicale is installed # Radicale is always accessible (For access to ressources) - + ynh_app_setting_set $app unprotected_uris "/" fi #=================================================