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:36:01 +01:00
parent 86c722e03e
commit e11b2e9795

View file

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