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,12 +29,22 @@ ynh_change_url_nginx_config
|
||||||
# MODIFY CONFIGURATION
|
# MODIFY CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [ "$path" = "/" ]; then
|
if [ $change_path -eq 1 ]
|
||||||
|
then
|
||||||
|
if [ "$new_path" = "/" ]; then
|
||||||
conf_path=""
|
conf_path=""
|
||||||
|
else
|
||||||
|
conf_path=$new_path
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
conf_path=$path
|
conf_path=$path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $change_domain -eq 1 ]
|
||||||
|
then
|
||||||
|
domain=$new_domain
|
||||||
|
fi
|
||||||
|
|
||||||
ynh_add_config -t default.json -d "$install_dir/config/default.json"
|
ynh_add_config -t default.json -d "$install_dir/config/default.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue