mirror of
https://github.com/YunoHost-Apps/owncast-emojiwall_ynh.git
synced 2024-09-03 19:56:19 +02:00
ubah url
This commit is contained in:
parent
70dbd74e8f
commit
f66479860e
1 changed files with 14 additions and 4 deletions
|
@ -29,10 +29,20 @@ ynh_change_url_nginx_config
|
|||
# MODIFY CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
if [ "$path" = "/" ]; then
|
||||
conf_path=""
|
||||
else
|
||||
conf_path=$path
|
||||
if [ $change_path -eq 1 ]
|
||||
then
|
||||
if [ "$new_path" = "/" ]; then
|
||||
conf_path=""
|
||||
else
|
||||
conf_path=$new_path
|
||||
fi
|
||||
else
|
||||
conf_path=$path
|
||||
fi
|
||||
|
||||
if [ $change_domain -eq 1 ]
|
||||
then
|
||||
domain=$new_domain
|
||||
fi
|
||||
|
||||
ynh_add_config -t default.json -d "$install_dir/config/default.json"
|
||||
|
|
Loading…
Add table
Reference in a new issue