mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
Have to write it on only one line
This commit is contained in:
parent
6d70c0458d
commit
ad90491c14
1 changed files with 1 additions and 6 deletions
|
@ -114,12 +114,7 @@ then
|
|||
pathluaregex=$(echo "$path" | sed -e 's/[]().%+*?[^$[]/\%&/g' | sed -e 's/\-/\%&/g')
|
||||
# redirect to SSOwat login in
|
||||
sudo yunohost app setting $app unprotected_uris -d
|
||||
sudo yunohost app setting $app unprotected_regex -v \
|
||||
"$domainluaregex$pathluaregex/index.php%?f=.+$", \
|
||||
"$domainluaregex$pathluaregex/index.php%?zipfolder=.+$", \
|
||||
"$domainluaregex$pathluaregex/private/temp/.+%.zip$", \
|
||||
"$domainluaregex$pathluaregex/core/js/.*$", \
|
||||
"$domainluaregex$pathluaregex/templates/.*$"
|
||||
sudo yunohost app setting $app unprotected_regex -v "$domainluaregex$pathluaregex/index.php%?f=.+$","$domainluaregex$pathluaregex/index.php%?zipfolder=.+$","$domainluaregex$pathluaregex/private/temp/.+%.zip$","$domainluaregex$pathluaregex/core/js/.*$","$domainluaregex$pathluaregex/templates/.*$"
|
||||
fi
|
||||
|
||||
# restart services
|
||||
|
|
Loading…
Add table
Reference in a new issue