1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast-emojiwall_ynh.git synced 2024-09-03 19:56:19 +02:00
This commit is contained in:
Neko Nekowazarashi 2023-10-05 23:35:16 +07:00
parent 70dbd74e8f
commit f66479860e

View file

@ -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"