1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

fix change_url

This commit is contained in:
yalh76 2019-03-20 00:45:23 +01:00
parent 382767ba91
commit 83f1bc30c9

View file

@ -106,9 +106,9 @@ ynh_systemd_action --action=stop --service_name=$app
if [ "$new_path" == "/" ]
then
new_domain_uri="$new_domain$new_path"
else
new_domain_uri="$new_domain"
else
new_domain_uri="$new_domain$new_path"
fi
ynh_replace_string "EXTERNAL_URL=.*" "EXTERNAL_URL=https://$new_domain_uri/" "$final_path/.env"