From 1ecce8c1146a09d2616155e1fc553cc2c8762660 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 2 Aug 2022 22:03:45 +0200 Subject: [PATCH] Fix private --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 6fd5462..28ae206 100644 --- a/scripts/install +++ b/scripts/install @@ -157,6 +157,7 @@ if [ $is_public -eq 0 ]; then domainluaregex=$(echo "$domain" | sed -e 's/[]().%+*?[^$[]/\%&/g' | sed -e 's/\-/\%&/g') pathluaregex=$([ "$path_url" == "/" ] || echo "$path_url" | sed -e 's/[]().%+*?[^$[]/\%&/g' | sed -e 's/\-/\%&/g') regexList="${domainluaregex}${pathluaregex}/index%.php$","${domainluaregex}${pathluaregex}/index%.php%?p=.*$" + ynh_app_setting_set --app="$app" --key=protected_regex --value="$regexList" fi #=================================================