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:
parent
382767ba91
commit
83f1bc30c9
1 changed files with 2 additions and 2 deletions
|
@ -106,9 +106,9 @@ ynh_systemd_action --action=stop --service_name=$app
|
||||||
|
|
||||||
if [ "$new_path" == "/" ]
|
if [ "$new_path" == "/" ]
|
||||||
then
|
then
|
||||||
new_domain_uri="$new_domain$new_path"
|
|
||||||
else
|
|
||||||
new_domain_uri="$new_domain"
|
new_domain_uri="$new_domain"
|
||||||
|
else
|
||||||
|
new_domain_uri="$new_domain$new_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_replace_string "EXTERNAL_URL=.*" "EXTERNAL_URL=https://$new_domain_uri/" "$final_path/.env"
|
ynh_replace_string "EXTERNAL_URL=.*" "EXTERNAL_URL=https://$new_domain_uri/" "$final_path/.env"
|
||||||
|
|
Loading…
Reference in a new issue